Commit 4d827d01 authored by Friedrich W. H. Kossebau's avatar Friedrich W. H. Kossebau
Browse files

Drop code variant for no longer supported KF versions

GIT_SILENT
parent 47b7f31b
Pipeline #73756 failed with stage
in 2 minutes and 40 seconds
......@@ -16,7 +16,6 @@
#include <KAuthorized>
#include <QHash>
#include <QPointer>
#include <kwidgetsaddons_version.h>
#include "mailtransport_debug.h"
#include <KLocalizedString>
......@@ -233,9 +232,7 @@ void SmtpJob::startLoginJob()
dlg->addCommentLine(QString(), transport()->name());
dlg->setUsername(user);
dlg->setPassword(passwd);
#if KWIDGETSADDONS_VERSION >= QT_VERSION_CHECK(5, 84, 0)
dlg->setRevealPasswordAvailable(KAuthorized::authorize(QStringLiteral("lineedit_reveal_password")));
#endif
connect(this, &KJob::result, dlg, &QDialog::reject);
......
Supports Markdown
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