diff options
Diffstat (limited to 'src/plugins/resourceeditor/resourceeditorw.cpp')
-rw-r--r-- | src/plugins/resourceeditor/resourceeditorw.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/resourceeditor/resourceeditorw.cpp b/src/plugins/resourceeditor/resourceeditorw.cpp index a7fa3eadee..429c921b59 100644 --- a/src/plugins/resourceeditor/resourceeditorw.cpp +++ b/src/plugins/resourceeditor/resourceeditorw.cpp @@ -118,7 +118,7 @@ bool ResourceEditorW::createNew(const QString &contents) { Utils::TempFileSaver saver; saver.write(contents.toUtf8()); - if (!saver.finalize(Core::ICore::instance()->mainWindow())) + if (!saver.finalize(Core::ICore::mainWindow())) return false; const bool rc = m_resourceEditor->load(saver.fileName()); |