X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fsettingspages%2Fshortcutsmodel.h;h=a4a72daf9ede49c68e00a84eebbc9a8f1decfcea;hp=bb8bdcb393d8a35f702135775fa8a5a2b298bb0c;hb=39328183a6a87c6eb10a9dbbffcd5d65bf154a1f;hpb=9d54503555534a2c554f09a33df6afa33d6308ec diff --git a/src/qtui/settingspages/shortcutsmodel.h b/src/qtui/settingspages/shortcutsmodel.h index bb8bdcb3..a4a72daf 100644 --- a/src/qtui/settingspages/shortcutsmodel.h +++ b/src/qtui/settingspages/shortcutsmodel.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2014 by the Quassel Project * + * Copyright (C) 2005-2018 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -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;