summaryrefslogtreecommitdiff
path: root/utils/themeeditor/gui
diff options
context:
space:
mode:
Diffstat (limited to 'utils/themeeditor/gui')
-rw-r--r--utils/themeeditor/gui/skindocument.cpp2
-rw-r--r--utils/themeeditor/gui/skindocument.h5
2 files changed, 5 insertions, 2 deletions
diff --git a/utils/themeeditor/gui/skindocument.cpp b/utils/themeeditor/gui/skindocument.cpp
index 15111cbed8..bd52685c6b 100644
--- a/utils/themeeditor/gui/skindocument.cpp
+++ b/utils/themeeditor/gui/skindocument.cpp
@@ -301,7 +301,7 @@ void SkinDocument::codeChanged()
301 301
302 if(lastUpdate.msecsTo(QTime::currentTime()) >= updateInterval) 302 if(lastUpdate.msecsTo(QTime::currentTime()) >= updateInterval)
303 { 303 {
304 model->render(project, device, &fileName); 304 model->render(project, device, this, &fileName);
305 checkUpdate.stop(); 305 checkUpdate.stop();
306 lastUpdate = QTime::currentTime(); 306 lastUpdate = QTime::currentTime();
307 } 307 }
diff --git a/utils/themeeditor/gui/skindocument.h b/utils/themeeditor/gui/skindocument.h
index d20d0fb1ec..10c9e3ff11 100644
--- a/utils/themeeditor/gui/skindocument.h
+++ b/utils/themeeditor/gui/skindocument.h
@@ -76,7 +76,10 @@ public:
76 76
77 TabType type() const{ return Skin; } 77 TabType type() const{ return Skin; }
78 78
79 QGraphicsScene* scene(){ return model->render(project, device, &fileName); } 79 QGraphicsScene* scene()
80 {
81 return model->render(project, device, this, &fileName);
82 }
80 83
81 void showFind(){ findReplace->show(); } 84 void showFind(){ findReplace->show(); }
82 void hideFind(){ findReplace->hide(); } 85 void hideFind(){ findReplace->hide(); }