summaryrefslogtreecommitdiffhomepage
path: root/facetracknoir/ui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'facetracknoir/ui.cpp')
-rw-r--r--facetracknoir/ui.cpp14
1 files changed, 1 insertions, 13 deletions
diff --git a/facetracknoir/ui.cpp b/facetracknoir/ui.cpp
index 071a4126..4c6c694c 100644
--- a/facetracknoir/ui.cpp
+++ b/facetracknoir/ui.cpp
@@ -212,19 +212,7 @@ void MainWindow::bindKeyboardShortcuts()
ensure_tray();
}
-void MainWindow::open_and_run(const QString &fileName) {
- if (! fileName.isEmpty() && QFileInfo(fileName).exists()) {
- {
- QSettings settings(group::org);
- settings.setValue(group::filename_key, remove_app_path(fileName));
- }
- fill_profile_combobox();
- load_settings();
- QTimer::singleShot(0, this, SLOT(startTracker()));
- }
-}
-
-void MainWindow::startTracker( ) {
+void MainWindow::startTracker() {
s.b->save();
load_settings();
bindKeyboardShortcuts();