From d21701785a199ad1f9efb2c7cb448357c73329e1 Mon Sep 17 00:00:00 2001 From: Abs62 Date: Tue, 8 Apr 2014 22:57:07 +0400 Subject: [PATCH] Fix history saving while system shutdown --- mainwindow.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mainwindow.cc b/mainwindow.cc index ed2418a2..5071e9dd 100644 --- a/mainwindow.cc +++ b/mainwindow.cc @@ -945,8 +945,6 @@ MainWindow::~MainWindow() } commitData(); - - history.save(); } void MainWindow::commitData( QSessionManager & ) @@ -970,6 +968,8 @@ void MainWindow::commitData() // Save any changes in last chosen groups etc Config::save( cfg ); + + history.save(); } }