From 89214766d8e3e7b8dd749a1fa18a5b9727f5010d Mon Sep 17 00:00:00 2001 From: Unit 193 Date: Sun, 14 Dec 2014 08:24:26 -0500 Subject: Imported Upstream version 3.0.0 --- SQLiteStudio3/guiSQLiteStudio/mdiwindow.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'SQLiteStudio3/guiSQLiteStudio/mdiwindow.h') diff --git a/SQLiteStudio3/guiSQLiteStudio/mdiwindow.h b/SQLiteStudio3/guiSQLiteStudio/mdiwindow.h index fd6c4dc..7003425 100644 --- a/SQLiteStudio3/guiSQLiteStudio/mdiwindow.h +++ b/SQLiteStudio3/guiSQLiteStudio/mdiwindow.h @@ -28,12 +28,16 @@ class GUI_API_EXPORT MdiWindow : public QMdiSubWindow void changeEvent(QEvent *event); void closeEvent(QCloseEvent* e); + bool getCloseWithoutSessionSaving() const; + void setCloseWithoutSessionSaving(bool value); + private: bool confirmClose(); QPointer lastFocusedWidget; MdiArea* mdiArea = nullptr; bool dbBeingClosed = false; + bool closeWithoutSessionSaving = false; private slots: void dbAboutToBeDisconnected(Db* db, bool& deny); -- cgit v1.2.3