[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [mailcommon] src/filter/filteractions: Const'ify
From: Montel Laurent <null () kde ! org>
Date: 2017-08-31 20:16:03
Message-ID: E1dnVsh-00046k-N8 () code ! kde ! org
[Download RAW message or body]
Git commit f28ab1e8154c6cf35fbf83e7e9b1f0b57f889cfa by Montel Laurent.
Committed on 31/08/2017 at 20:15.
Pushed by mlaurent into branch 'master'.
Const'ify
M +1 -1 src/filter/filteractions/filteractionwithcrypto.cpp
https://commits.kde.org/mailcommon/f28ab1e8154c6cf35fbf83e7e9b1f0b57f889cfa
diff --git a/src/filter/filteractions/filteractionwithcrypto.cpp \
b/src/filter/filteractions/filteractionwithcrypto.cpp index 6584c30..3ed425a 100644
--- a/src/filter/filteractions/filteractionwithcrypto.cpp
+++ b/src/filter/filteractions/filteractionwithcrypto.cpp
@@ -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"));
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic