From 0ce0201f35bd4ed5d885b7856b0e2d74bba66e56 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Thu, 16 Jul 2015 08:30:06 +0200 Subject: ui: update profile title Fixes: #191 --- facetracknoir/ui.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'facetracknoir') diff --git a/facetracknoir/ui.cpp b/facetracknoir/ui.cpp index 6afb3475..1f403925 100644 --- a/facetracknoir/ui.cpp +++ b/facetracknoir/ui.cpp @@ -445,6 +445,10 @@ void MainWindow::profileSelected(int index) settings.setValue (OPENTRACK_CONFIG_FILENAME_KEY, remove_app_path(QFileInfo(group::ini_pathname()).absolutePath() + "/" + ui.iconcomboProfile->itemText(index))); } + + QString current = QFileInfo(group::ini_pathname()).fileName(); + setWindowTitle(QString( const_cast(opentrack_version) + QStringLiteral(" :: ")) + current); + load_settings(); } -- cgit v1.2.3