diff options
Diffstat (limited to 'src/mainwindow.cpp')
| -rw-r--r-- | src/mainwindow.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 64f5fab..8594f7a 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -296,6 +296,13 @@ void MainWindow::mousePressEvent(QMouseEvent *event) } } +void MainWindow::closeEvent(QCloseEvent *event) +{ + kristall::saveWindowState(); + + event->accept(); +} + void MainWindow::on_browser_tabs_currentChanged(int index) { if(index >= 0) { |
