X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fsettingspages%2Fshortcutsmodel.h;h=a4a72daf9ede49c68e00a84eebbc9a8f1decfcea;hp=b3da74183426879584bc792e72f9c15c52803af2;hb=39328183a6a87c6eb10a9dbbffcd5d65bf154a1f;hpb=d4b81a6d777de45611034b26bd89973d19e60c96 diff --git a/src/qtui/settingspages/shortcutsmodel.h b/src/qtui/settingspages/shortcutsmodel.h index b3da7418..a4a72daf 100644 --- a/src/qtui/settingspages/shortcutsmodel.h +++ b/src/qtui/settingspages/shortcutsmodel.h @@ -43,7 +43,7 @@ public: IsConfigurableRole }; - ShortcutsModel(const QHash &actionCollections, QObject *parent = 0); + ShortcutsModel(const QHash &actionCollections, QObject *parent = nullptr); ~ShortcutsModel(); QModelIndex index(int row, int column, const QModelIndex &parent = QModelIndex()) const; @@ -80,7 +80,7 @@ signals: private: struct Item { - inline Item() { parentItem = 0; collection = 0; action = 0; } + inline Item() { parentItem = nullptr; collection = nullptr; action = nullptr; } inline ~Item() { qDeleteAll(actionItems); } int row; Item *parentItem;