projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
modernize: Use nullptr
[quassel.git]
/
src
/
qtui
/
settingspages
/
shortcutsmodel.h
diff --git
a/src/qtui/settingspages/shortcutsmodel.h
b/src/qtui/settingspages/shortcutsmodel.h
index
b3da741
..
a4a72da
100644
(file)
--- a/
src/qtui/settingspages/shortcutsmodel.h
+++ b/
src/qtui/settingspages/shortcutsmodel.h
@@
-43,7
+43,7
@@
public:
IsConfigurableRole
};
IsConfigurableRole
};
- ShortcutsModel(const QHash<QString, ActionCollection *> &actionCollections, QObject *parent =
0
);
+ ShortcutsModel(const QHash<QString, ActionCollection *> &actionCollections, QObject *parent =
nullptr
);
~ShortcutsModel();
QModelIndex index(int row, int column, const QModelIndex &parent = QModelIndex()) const;
~ShortcutsModel();
QModelIndex index(int row, int column, const QModelIndex &parent = QModelIndex()) const;
@@
-80,7
+80,7
@@
signals:
private:
struct Item {
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;
inline ~Item() { qDeleteAll(actionItems); }
int row;
Item *parentItem;