summaryrefslogtreecommitdiffstats
path: root/qt-ui/mainwindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'qt-ui/mainwindow.h')
-rw-r--r--qt-ui/mainwindow.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/qt-ui/mainwindow.h b/qt-ui/mainwindow.h
index 46f685f1f..828c628d7 100644
--- a/qt-ui/mainwindow.h
+++ b/qt-ui/mainwindow.h
@@ -169,6 +169,8 @@ private:
QString filter();
static MainWindow *m_Instance;
bool askSaveChanges();
+ bool okToClose(QString message);
+ void closeCurrentFile();
void writeSettings();
int file_save();
int file_save_as();