summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-01-31 14:41:42 +0100
committerStanislaw Halik <sthalik@misaki.pl>2018-01-31 14:41:42 +0100
commitd00258dfc626000c70767796ccd18fad7815a8d3 (patch)
treee7560d40f7ecda7b2e1f8c82e3b7b7e590841007
parent8dfcc01968df0795dbf8cf83e4908c375b3789af (diff)
gui: clean up a bit
-rw-r--r--options/bundle.cpp3
-rw-r--r--variant/default/main-window.cpp3
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_();
}
}