diff options
Diffstat (limited to 'src/plugins/coreplugin/mainwindow.h')
-rw-r--r-- | src/plugins/coreplugin/mainwindow.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/coreplugin/mainwindow.h b/src/plugins/coreplugin/mainwindow.h index 26dc607cbe..a3a537b231 100644 --- a/src/plugins/coreplugin/mainwindow.h +++ b/src/plugins/coreplugin/mainwindow.h @@ -114,6 +114,7 @@ public slots: protected: void closeEvent(QCloseEvent *event) override; + void changeEvent(QEvent *event) override; private: void openFile(); @@ -192,6 +193,7 @@ private: QToolButton *m_toggleRightSideBarButton = nullptr; QColor m_overrideColor; QList<std::function<bool()>> m_preCloseListeners; + Qt::WindowStates m_previousWindowStates = Qt::WindowNoState; }; } // namespace Internal |