diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-11-29 18:05:27 -0600 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-11-29 18:05:27 -0600 |
commit | db3d31b0cb26e7149e9cca121c6661bea9537abe (patch) | |
tree | bb391afb62874ebc8e66d7adae91436506f0936d /ui/qt5 | |
parent | 068d4b310b51fe9e3069e08617b3943c9d8b6c1e (diff) | |
download | horizon-db3d31b0cb26e7149e9cca121c6661bea9537abe.tar.gz horizon-db3d31b0cb26e7149e9cca121c6661bea9537abe.tar.bz2 horizon-db3d31b0cb26e7149e9cca121c6661bea9537abe.tar.xz horizon-db3d31b0cb26e7149e9cca121c6661bea9537abe.zip |
Qt UI: Fix confirm field's reveal button
Diffstat (limited to 'ui/qt5')
-rw-r--r-- | ui/qt5/rootpwpage.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/qt5/rootpwpage.cc b/ui/qt5/rootpwpage.cc index f0b8acc..833878c 100644 --- a/ui/qt5/rootpwpage.cc +++ b/ui/qt5/rootpwpage.cc @@ -60,8 +60,8 @@ RootPassphrasePage::RootPassphrasePage(QWidget *parent) "Confirm your desired root passphrase by typing it again here.")); connect(confirmPW, &QLineEdit::textChanged, this, &RootPassphrasePage::completeChanged); - QAction *toggleConfPass = rootPW->addAction(QIcon::fromTheme("visibility"), - QLineEdit::TrailingPosition); + QAction *toggleConfPass = confirmPW->addAction( + QIcon::fromTheme("visibility"), QLineEdit::TrailingPosition); toggleConfPass->setToolTip(tr("Show the passphrase")); toggleConfPass->setData(true); connect(toggleConfPass, &QAction::triggered, |