summaryrefslogtreecommitdiffhomepage
path: root/facetracknoir/main.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2015-05-22 17:00:17 +0200
committerStanislaw Halik <sthalik@misaki.pl>2015-05-22 17:00:17 +0200
commit06bcfda32860f7372d0cf7148a409457ffc6cba5 (patch)
tree7485bc517d07c3548737a55cccfcd09ade2fdf66 /facetracknoir/main.cpp
parent0148b26e427d7a5bbe24cdff14f3e035dc19bd1c (diff)
simplify
Diffstat (limited to 'facetracknoir/main.cpp')
-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;