diff options
-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, |