summaryrefslogtreecommitdiffhomepage
path: root/facetracknoir
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2015-05-23 06:43:24 +0200
committerStanislaw Halik <sthalik@misaki.pl>2015-05-23 06:43:24 +0200
commit449837ff3071ec4ffa6fd92f6cffb2bd87ff2293 (patch)
treeb7ed33c4b4250a88f4e6903368e1cc63c28d90fe /facetracknoir
parent06bcfda32860f7372d0cf7148a409457ffc6cba5 (diff)
game-detector: switch profiles properly
Diffstat (limited to 'facetracknoir')
-rw-r--r--facetracknoir/ui.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/facetracknoir/ui.cpp b/facetracknoir/ui.cpp
index fb28c3c6..cb7669ce 100644
--- a/facetracknoir/ui.cpp
+++ b/facetracknoir/ui.cpp
@@ -494,8 +494,7 @@ void MainWindow::maybe_start_profile_from_executable()
QString prof;
if (det.config_to_start(prof))
{
- QString profile = QFileInfo(group::ini_pathname()).absolutePath() + "/" + prof;
- set_profile(profile);
+ ui.iconcomboProfile->setCurrentText(prof);
startTracker();
}
}