From d00258dfc626000c70767796ccd18fad7815a8d3 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Wed, 31 Jan 2018 14:41:42 +0100 Subject: gui: clean up a bit --- options/bundle.cpp | 3 +++ variant/default/main-window.cpp | 3 +-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/options/bundle.cpp b/options/bundle.cpp index 401fce86..4a133402 100644 --- a/options/bundle.cpp +++ b/options/bundle.cpp @@ -100,7 +100,10 @@ void bundle::save() } if (modified_) + { + qDebug() << "saving" << name(); emit saving(); + } } bool bundle::is_modified() const diff --git a/variant/default/main-window.cpp b/variant/default/main-window.cpp index 9ac838f1..47dce2c4 100644 --- a/variant/default/main-window.cpp +++ b/variant/default/main-window.cpp @@ -365,7 +365,6 @@ void main_window::set_working_directory() void main_window::save_modules() { - qDebug() << "save modules"; m.b->save(); } @@ -851,7 +850,7 @@ void main_window::maybe_start_profile_from_executable() QString prof; if (det.config_to_start(prof)) { - ui.iconcomboProfile->setCurrentText(prof); + set_profile(prof); start_tracker_(); } } -- cgit v1.2.3