Commit 2107f115 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

const'ify pointer

parent 4b04c872
Pipeline #32655 passed with stage
in 37 minutes and 38 seconds
......@@ -220,8 +220,8 @@ private:
private:
KContacts::Addressee mSearchedAddress;
Akonadi::Item mSearchedContact;
QWidget *mMainWindow = nullptr;
KActionCollection *mActionCollection = nullptr;
QWidget *const mMainWindow;
KActionCollection *const mActionCollection;
QAction *mMailToComposeAction = nullptr;
QAction *mMailToReplyAction = nullptr;
......
......@@ -41,7 +41,7 @@ private:
QHash<Akonadi::Collection::Id, QPointer<Akonadi::CollectionPropertiesDialog> > mHashDialogBox;
QStringList mPages;
KMMainWidget *mMainWidget = nullptr;
KMMainWidget *const mMainWidget;
};
#endif // MANAGESHOWCOLLECTIONPROPERTIES_H
......@@ -138,7 +138,7 @@ private:
QList<QAction *> mMailListActionList;
Akonadi::Item mCurrentItem;
Akonadi::Item::List mVisibleItems;
QWidget *mParent = nullptr;
QWidget *const mParent;
KMReaderWin *mMessageView = nullptr;
KActionMenu *mReplyActionMenu = nullptr;
......
......@@ -36,7 +36,7 @@ private:
void slotCollectionStatisticsChanged(Akonadi::Collection::Id id, const Akonadi::CollectionStatistics &);
void initUnity();
Q_REQUIRED_RESULT bool hasUnreadMail() const;
QDBusServiceWatcher *mUnityServiceWatcher = nullptr;
QDBusServiceWatcher *const mUnityServiceWatcher;
KMail::KMSystemTray *mSystemTray = nullptr;
int mCount = 0;
bool mUnityServiceAvailable = false;
......
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