summaryrefslogtreecommitdiff
path: root/utils/themeeditor/graphics/rbscreen.h
diff options
context:
space:
mode:
Diffstat (limited to 'utils/themeeditor/graphics/rbscreen.h')
-rw-r--r--utils/themeeditor/graphics/rbscreen.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/utils/themeeditor/graphics/rbscreen.h b/utils/themeeditor/graphics/rbscreen.h
index 95a110a4d5..f35aef680b 100644
--- a/utils/themeeditor/graphics/rbscreen.h
+++ b/utils/themeeditor/graphics/rbscreen.h
@@ -46,10 +46,7 @@ public:
int getWidth() const{ return width; }
int getHeight() const{ return height; }
- void loadViewport(QString name, RBViewport* view)
- {
- namedViewports.insert(name, view);
- }
+ void loadViewport(QString name, RBViewport* view);
void showViewport(QString name);
void loadImage(QString name, RBImage* image)
@@ -78,7 +75,7 @@ private:
ProjectModel* project;
- QMap<QString, RBViewport*> namedViewports;
+ QMap<QString, QList<RBViewport*>*> namedViewports;
QMap<QString, RBImage*> images;
QMap<QString, QString>* settings;
QMap<int, RBFont*> fonts;