Commit 1ee518dd authored by Laurent Montel's avatar Laurent Montel 😁

Rename variable + consr'ify

parent 6755aa5c
Pipeline #37450 passed with stage
in 48 minutes and 54 seconds
......@@ -11,7 +11,7 @@
#include <memory>
KMSieveImapPasswordProvider::KMSieveImapPasswordProvider(WId wid)
: m_wid(wid)
: mWid(wid)
{
}
......@@ -27,7 +27,7 @@ QString KMSieveImapPasswordProvider::sieveCustomPassword(const QString &identifi
QString KMSieveImapPasswordProvider::walletPassword(const QString &identifier)
{
std::unique_ptr<KWallet::Wallet> wallet(KWallet::Wallet::openWallet(KWallet::Wallet::NetworkWallet(), m_wid));
std::unique_ptr<KWallet::Wallet> wallet(KWallet::Wallet::openWallet(KWallet::Wallet::NetworkWallet(), mWid));
if (wallet) {
if (wallet->hasFolder(QStringLiteral("imap"))) {
QString pwd;
......
......@@ -22,7 +22,7 @@ public:
private:
Q_REQUIRED_RESULT QString walletPassword(const QString &identifier);
WId m_wid;
const WId mWid;
};
#endif
......@@ -35,8 +35,8 @@ private:
enum ItemType {
UrlTag = Qt::UserRole + 1
};
int mNumberOfSelectedMessages = -1;
Akonadi::Item mSelectedItem;
const int mNumberOfSelectedMessages = -1;
const Akonadi::Item mSelectedItem;
Akonadi::Tag::List mCurrentSelectedTags;
QVector<MailCommon::Tag::Ptr> mTagList;
......
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