diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2015-05-22 17:00:17 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2015-05-22 17:00:17 +0200 |
commit | 06bcfda32860f7372d0cf7148a409457ffc6cba5 (patch) | |
tree | 7485bc517d07c3548737a55cccfcd09ade2fdf66 | |
parent | 0148b26e427d7a5bbe24cdff14f3e035dc19bd1c (diff) |
simplify
-rw-r--r-- | facetracknoir/main.cpp | 5 |
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; |