Commit e8c7cf3f authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

We depend against 5.84

parent ec618362
Pipeline #73778 failed with stage
in 2 minutes and 45 seconds
...@@ -262,9 +262,7 @@ KManageSieve::AuthDetails Session::requestAuthDetails(const QUrl &url) ...@@ -262,9 +262,7 @@ KManageSieve::AuthDetails Session::requestAuthDetails(const QUrl &url)
"(usually the same as your email password):"); "(usually the same as your email password):");
QPointer<KPasswordDialog> dlg = new KPasswordDialog(nullptr, KPasswordDialog::ShowUsernameLine | KPasswordDialog::ShowKeepPassword); QPointer<KPasswordDialog> dlg = new KPasswordDialog(nullptr, KPasswordDialog::ShowUsernameLine | KPasswordDialog::ShowKeepPassword);
#if KWIDGETSADDONS_VERSION >= QT_VERSION_CHECK(5, 84, 0)
dlg->setRevealPasswordAvailable(KAuthorized::authorize(QStringLiteral("lineedit_reveal_password"))); dlg->setRevealPasswordAvailable(KAuthorized::authorize(QStringLiteral("lineedit_reveal_password")));
#endif
dlg->setUsername(ai.username); dlg->setUsername(ai.username);
dlg->setPassword(ai.password); dlg->setPassword(ai.password);
dlg->setKeepPassword(ai.keepPassword); dlg->setKeepPassword(ai.keepPassword);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment