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 @@ ...@@ -11,7 +11,7 @@
#include <memory> #include <memory>
KMSieveImapPasswordProvider::KMSieveImapPasswordProvider(WId wid) KMSieveImapPasswordProvider::KMSieveImapPasswordProvider(WId wid)
: m_wid(wid) : mWid(wid)
{ {
} }
...@@ -27,7 +27,7 @@ QString KMSieveImapPasswordProvider::sieveCustomPassword(const QString &identifi ...@@ -27,7 +27,7 @@ QString KMSieveImapPasswordProvider::sieveCustomPassword(const QString &identifi
QString KMSieveImapPasswordProvider::walletPassword(const QString &identifier) 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) {
if (wallet->hasFolder(QStringLiteral("imap"))) { if (wallet->hasFolder(QStringLiteral("imap"))) {
QString pwd; QString pwd;
......
...@@ -22,7 +22,7 @@ public: ...@@ -22,7 +22,7 @@ public:
private: private:
Q_REQUIRED_RESULT QString walletPassword(const QString &identifier); Q_REQUIRED_RESULT QString walletPassword(const QString &identifier);
WId m_wid; const WId mWid;
}; };
#endif #endif
...@@ -35,8 +35,8 @@ private: ...@@ -35,8 +35,8 @@ private:
enum ItemType { enum ItemType {
UrlTag = Qt::UserRole + 1 UrlTag = Qt::UserRole + 1
}; };
int mNumberOfSelectedMessages = -1; const int mNumberOfSelectedMessages = -1;
Akonadi::Item mSelectedItem; const Akonadi::Item mSelectedItem;
Akonadi::Tag::List mCurrentSelectedTags; Akonadi::Tag::List mCurrentSelectedTags;
QVector<MailCommon::Tag::Ptr> mTagList; 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