diff options
Diffstat (limited to 'utils/themeeditor/gui')
| -rw-r--r-- | utils/themeeditor/gui/skindocument.cpp | 2 | ||||
| -rw-r--r-- | utils/themeeditor/gui/skindocument.h | 5 |
2 files changed, 5 insertions, 2 deletions
diff --git a/utils/themeeditor/gui/skindocument.cpp b/utils/themeeditor/gui/skindocument.cpp index 15111cb..bd52685 100644 --- a/utils/themeeditor/gui/skindocument.cpp +++ b/utils/themeeditor/gui/skindocument.cpp @@ -301,7 +301,7 @@ void SkinDocument::codeChanged() if(lastUpdate.msecsTo(QTime::currentTime()) >= updateInterval) { - model->render(project, device, &fileName); + model->render(project, device, this, &fileName); checkUpdate.stop(); lastUpdate = QTime::currentTime(); } diff --git a/utils/themeeditor/gui/skindocument.h b/utils/themeeditor/gui/skindocument.h index d20d0fb..10c9e3f 100644 --- a/utils/themeeditor/gui/skindocument.h +++ b/utils/themeeditor/gui/skindocument.h @@ -76,7 +76,10 @@ public: TabType type() const{ return Skin; } - QGraphicsScene* scene(){ return model->render(project, device, &fileName); } + QGraphicsScene* scene() + { + return model->render(project, device, this, &fileName); + } void showFind(){ findReplace->show(); } void hideFind(){ findReplace->hide(); } |