summaryrefslogtreecommitdiffhomepage
path: root/facetracknoir
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2015-10-06 06:28:57 +0200
committerStanislaw Halik <sthalik@misaki.pl>2015-10-06 06:28:57 +0200
commit18001ba72d8472697fafdcbd7fa8873e792d5f64 (patch)
tree40ec44cce602837364fdb0cff311941e9b46dc36 /facetracknoir
parent7e85f86b795b9ce4f752b7a329d37ae9189e2675 (diff)
ui: fix close on save
stopping the timer prevented maybe_save() from working
Diffstat (limited to 'facetracknoir')
-rw-r--r--facetracknoir/ui.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/facetracknoir/ui.cpp b/facetracknoir/ui.cpp
index 0672d24a..ad3c4886 100644
--- a/facetracknoir/ui.cpp
+++ b/facetracknoir/ui.cpp
@@ -126,12 +126,11 @@ bool MainWindow::get_new_config_name_from_dialog(QString& ret)
MainWindow::~MainWindow()
{
- save_timer.stop();
+ maybe_save();
if (tray)
tray->hide();
stopTracker();
- maybe_save();
}
void MainWindow::set_working_directory()