summaryrefslogtreecommitdiffstats
path: root/mappingtreewidget.h
diff options
context:
space:
mode:
authorArno <arno@disconnect.de>2018-11-24 05:41:06 +0100
committerArno <arno@disconnect.de>2018-11-24 05:42:01 +0100
commitad746a61b3e7155f73b54d0354f5208805a6771d (patch)
tree76be15b0513111ec072e148df2ce4b9080be8d48 /mappingtreewidget.h
parent95f1c55f09068b2259ddad2b042fd329478a6111 (diff)
downloadSheMov-ad746a61b3e7155f73b54d0354f5208805a6771d.tar.gz
SheMov-ad746a61b3e7155f73b54d0354f5208805a6771d.tar.bz2
SheMov-ad746a61b3e7155f73b54d0354f5208805a6771d.zip
Add icons to MappingTreeWidget actions
While at it: They don't have to be members, so create them on the heap. Also fix a nullptr warning.
Diffstat (limited to 'mappingtreewidget.h')
-rw-r--r--mappingtreewidget.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/mappingtreewidget.h b/mappingtreewidget.h
index b6bbd57..16581a2 100644
--- a/mappingtreewidget.h
+++ b/mappingtreewidget.h
@@ -26,7 +26,7 @@ struct MappingData;
class MappingTreeWidget : public QWidget {
Q_OBJECT
public:
- explicit MappingTreeWidget(QWidget *parent = 0);
+ explicit MappingTreeWidget(QWidget *parent = nullptr);
MappingData selectedItem() const;
QList<MappingData> selectedTree() const;
QList<MappingData> selectedTreeRecursive(const QModelIndex &start) const;
@@ -64,10 +64,6 @@ class MappingTreeWidget : public QWidget {
QLineEdit *mFilter;
QPushButton *mAddType;
QPushButton *mDeleteType;
- QAction *mAddChildA;
- QAction *mAddActorA;
- QAction *mDeleteChildA;
- QAction *mEditChildA;
};
#endif // MAPPINGTREEWIDGET_H