diff options
Diffstat (limited to 'src/Authoring/Qt3DStudio/MainFrm.cpp')
-rw-r--r-- | src/Authoring/Qt3DStudio/MainFrm.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/Authoring/Qt3DStudio/MainFrm.cpp b/src/Authoring/Qt3DStudio/MainFrm.cpp index 987a39e2..e59b7c1c 100644 --- a/src/Authoring/Qt3DStudio/MainFrm.cpp +++ b/src/Authoring/Qt3DStudio/MainFrm.cpp @@ -1969,17 +1969,6 @@ void CMainFrame::handleRestart() QProcess::startDetached(qApp->arguments()[0], presentationFile); } -void CMainFrame::initializeGeometryAndState() -{ - if (!CStudioPreferences::containsWindowState(STUDIO_VERSION_NUM)) { - // On first run, save and restore geometry and state. For some reason they are both needed - // to avoid a bug with palettes resizing to their original size when window is resized or - // something in a palette is edited. - handleGeometryAndState(true); - } - handleGeometryAndState(false); -} - void CMainFrame::toggleSelectMode() { if (m_ui->actionItem_Select_Tool->isChecked()) |