summaryrefslogtreecommitdiffhomepage
path: root/facetracknoir/ui.h
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2015-06-12 05:36:59 +0200
committerStanislaw Halik <sthalik@misaki.pl>2015-06-12 05:36:59 +0200
commitd4a35684220c9e06b64ce3d39df06616f0147bdc (patch)
tree4c8c743ea04839d16951dc72d4e6e6004123fbea /facetracknoir/ui.h
parentcb38011818063ac2b28fb09c9e34b2fc3a558988 (diff)
trackhat: some stubs
Diffstat (limited to 'facetracknoir/ui.h')
-rw-r--r--facetracknoir/ui.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/facetracknoir/ui.h b/facetracknoir/ui.h
index f2758d81..10f5c814 100644
--- a/facetracknoir/ui.h
+++ b/facetracknoir/ui.h
@@ -78,7 +78,7 @@ class MainWindow : public QMainWindow, private State
mem<dylib> current_tracker()
{
- return modules.trackers().value(ui.iconcomboTrackerSource->currentIndex(), nullptr);
+ return modules.trackers().value(0, nullptr);
}
mem<dylib> current_protocol()
{
@@ -86,7 +86,7 @@ class MainWindow : public QMainWindow, private State
}
mem<dylib> current_filter()
{
- return modules.filters().value(ui.iconcomboFilter->currentIndex(), nullptr);
+ return modules.filters().value(0, nullptr);
}
void changeEvent(QEvent* e) override;