aboutsummaryrefslogtreecommitdiff
path: root/mainwindow.h
diff options
context:
space:
mode:
authorJavier <dev.git@javispedro.com>2015-06-14 18:57:00 +0200
committerJavier <dev.git@javispedro.com>2015-06-14 18:57:00 +0200
commit8f96d8d5edc98fc1b7cacd02f3219e1a2f0fcab7 (patch)
treee8a38bce0a94d45cc0dab6f2fa4a90bf6c32a628 /mainwindow.h
parent9f917957ddc7e1e60f58c16801210db9a5bdd3f5 (diff)
downloadscribiu-8f96d8d5edc98fc1b7cacd02f3219e1a2f0fcab7.tar.gz
scribiu-8f96d8d5edc98fc1b7cacd02f3219e1a2f0fcab7.zip
add saving of mainwindow state/geometry
Diffstat (limited to 'mainwindow.h')
-rw-r--r--mainwindow.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/mainwindow.h b/mainwindow.h
index 3f6aafc..e176122 100644
--- a/mainwindow.h
+++ b/mainwindow.h
@@ -62,6 +62,9 @@ private slots:
void handleExport();
void handleAbout();
+protected:
+ void closeEvent(QCloseEvent *event);
+
private:
QString formatDuration(qint64 time);