Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit f28ab1e8 authored by Laurent Montel's avatar Laurent Montel 😁

Const'ify

parent 1ec11772
......@@ -29,7 +29,7 @@ QStringList FilterActionWithCrypto::getEncryptionKeysFromContent(const KMime::Me
GpgME::Protocol protocol) const
{
if (protocol == GpgME::CMS && mGpgSmPath.isNull()) {
auto path = QStandardPaths::findExecutable(QStringLiteral("gpgsm"));
const auto path = QStandardPaths::findExecutable(QStringLiteral("gpgsm"));
mGpgSmPath = path.isEmpty() ? QStringLiteral("") : path;
} else if (protocol == GpgME::OpenPGP && mGpgPath.isNull()) {
auto path = QStandardPaths::findExecutable(QStringLiteral("gpg2"));
......
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