summaryrefslogtreecommitdiffhomepage
path: root/facetracknoir/ui.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2015-03-13 23:41:52 +0100
committerStanislaw Halik <sthalik@misaki.pl>2015-03-13 23:41:52 +0100
commitc1a76c75df5ae4f0624d8456b336ecee2514c357 (patch)
tree8730bddac3ab487ef416a941ae90a6f38f1b1866 /facetracknoir/ui.cpp
parent2706e1e10d324971f7c3991de0fff1fcc716fb00 (diff)
initialize "s_main" bundle implicitly
Diffstat (limited to 'facetracknoir/ui.cpp')
-rw-r--r--facetracknoir/ui.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/facetracknoir/ui.cpp b/facetracknoir/ui.cpp
index 11ae5d3e..54e4646e 100644
--- a/facetracknoir/ui.cpp
+++ b/facetracknoir/ui.cpp
@@ -126,7 +126,7 @@ void MainWindow::save_mappings() {
#endif
void MainWindow::save() {
- b->save();
+ s.b->save();
save_mappings();
mem<QSettings> settings = group::ini_file();
settings->sync();
@@ -170,7 +170,7 @@ void MainWindow::load_mappings() {
}
void MainWindow::load_settings() {
- b->reload();
+ s.b->reload();
load_mappings();
}
@@ -212,7 +212,7 @@ void MainWindow::bindKeyboardShortcuts()
}
void MainWindow::startTracker( ) {
- b->save();
+ s.b->save();
load_settings();
bindKeyboardShortcuts();