summaryrefslogtreecommitdiffstats
path: root/dialog.cpp
diff options
context:
space:
mode:
authorAnne Jan Brouwer <annejan@noprotocol.com>2015-07-08 21:31:26 +0200
committerAnne Jan Brouwer <annejan@noprotocol.com>2015-07-08 21:31:26 +0200
commitab1fb087b042163b7904a3f815888586e4444d9e (patch)
treecb0b8a246f81c79357b190292f6e73d622229491 /dialog.cpp
parentf5438fd182b17976c40a786d2312890305de5c66 (diff)
save size and stuff
Diffstat (limited to 'dialog.cpp')
-rw-r--r--dialog.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/dialog.cpp b/dialog.cpp
index 475a46e9..9af80522 100644
--- a/dialog.cpp
+++ b/dialog.cpp
@@ -559,3 +559,12 @@ void Dialog::on_checkBoxUseTrayIcon_clicked() {
ui->checkBoxHideOnClose->setEnabled(false);
}
}
+
+/**
+ * @brief Dialog::closeEvent
+ * @param event
+ */
+void Dialog::closeEvent(QCloseEvent *event) {
+ // TODO save window size or somethign
+ event->accept();
+}