diff options
author | Anne Jan Brouwer <annejan@noprotocol.com> | 2015-07-08 21:31:26 +0200 |
---|---|---|
committer | Anne Jan Brouwer <annejan@noprotocol.com> | 2015-07-08 21:31:26 +0200 |
commit | ab1fb087b042163b7904a3f815888586e4444d9e (patch) | |
tree | cb0b8a246f81c79357b190292f6e73d622229491 /dialog.cpp | |
parent | f5438fd182b17976c40a786d2312890305de5c66 (diff) |
save size and stuff
Diffstat (limited to 'dialog.cpp')
-rw-r--r-- | dialog.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -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(); +} |