summaryrefslogtreecommitdiffhomepage
path: root/facetracknoir/ui.h
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2015-08-26 19:55:01 +0200
committerStanislaw Halik <sthalik@misaki.pl>2015-08-27 09:37:14 +0200
commit844d9a6f4d62227fbf22e65614c84693438080bf (patch)
treea0392d36c9c24dc409b41445e7383015bd80c2c1 /facetracknoir/ui.h
parenta220e0af0fb7f9a8efdf24d325e5188f14d386f6 (diff)
ui: don't reload settings if config wasn't changed
Since combobox is reloaded on a timer, the "current" config changes all the time.
Diffstat (limited to 'facetracknoir/ui.h')
-rw-r--r--facetracknoir/ui.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/facetracknoir/ui.h b/facetracknoir/ui.h
index 46a97b3f..021f327d 100644
--- a/facetracknoir/ui.h
+++ b/facetracknoir/ui.h
@@ -73,7 +73,7 @@ class MainWindow : public QMainWindow, private State
void set_title(const QString& game_title = QStringLiteral(""));
void save();
static bool get_new_config_name_from_dialog(QString &ret);
- static void set_profile(const QString& profile);
+ void set_profile(const QString& profile);
private slots:
void exit();
void profileSelected(int index);