diff options
| author | Xavier ASUS <xavi92psx@gmail.com> | 2018-11-23 13:08:30 +0100 |
|---|---|---|
| committer | Xavier ASUS <xavi92psx@gmail.com> | 2018-11-23 13:08:30 +0100 |
| commit | 42ea5901dec867b31a3172cdea2a643d03256b7d (patch) | |
| tree | 6af568380bfb1919aa616d4058eeb4bae7584298 /Source/MapEditor/mainwindow.h | |
| parent | fa27014c9b78d13fe8720341ed73c249782c04d7 (diff) | |
Some cosmetic changes and improved const-correctness.
Created QList<QGraphicsTextItem*> so dynamically-allocated objects are safely deleted on the destructor.
Diffstat (limited to 'Source/MapEditor/mainwindow.h')
| -rw-r--r-- | Source/MapEditor/mainwindow.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/MapEditor/mainwindow.h b/Source/MapEditor/mainwindow.h index 8cc4c8e..69254fe 100644 --- a/Source/MapEditor/mainwindow.h +++ b/Source/MapEditor/mainwindow.h @@ -43,6 +43,7 @@ private: QByteArray map_buffer;
int selected_item;
QHash<int, QString> tilesetData;
+ QList<QGraphicsTextItem*> textItems;
private slots:
void loadMap(void);
|
