summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--facetracknoir/main.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/facetracknoir/main.cpp b/facetracknoir/main.cpp
index 1abf5d6b..fea76b30 100644
--- a/facetracknoir/main.cpp
+++ b/facetracknoir/main.cpp
@@ -75,10 +75,7 @@ int main(int argc, char** argv)
QMessageBox::Ok, QMessageBox::NoButton);
if (use_profile)
- {
- QSettings settings(group::org);
- settings.setValue(group::filename_key, MainWindow::remove_app_path(profile));
- }
+ MainWindow::set_profile(profile);
MainWindow w;