From 18001ba72d8472697fafdcbd7fa8873e792d5f64 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Tue, 6 Oct 2015 06:28:57 +0200 Subject: ui: fix close on save stopping the timer prevented maybe_save() from working --- facetracknoir/ui.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'facetracknoir') 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() -- cgit v1.2.3