summaryrefslogtreecommitdiffstats
path: root/src/controllers/dlgprefcontroller.h
diff options
context:
space:
mode:
authorRJ Ryan <rryan@mixxx.org>2016-05-10 14:53:06 -0700
committerRJ Ryan <rryan@mixxx.org>2016-05-11 21:06:34 -0700
commitb904c29a308b12d6ac1cec2f2c03bd85948f8fa2 (patch)
treeaadce59721ad3ac9165317af954decd37af1aefb /src/controllers/dlgprefcontroller.h
parentf068295b43453e63d9a8c67ff85f23897cb69cb9 (diff)
Move creation of PresetInfoEnumerator to ControllerManager thread.
This saves about 138ms (5.8%) during startup of parsing 90+ XML files.
Diffstat (limited to 'src/controllers/dlgprefcontroller.h')
-rw-r--r--src/controllers/dlgprefcontroller.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/controllers/dlgprefcontroller.h b/src/controllers/dlgprefcontroller.h
index 720da2cdce..e0cb88ed5a 100644
--- a/src/controllers/dlgprefcontroller.h
+++ b/src/controllers/dlgprefcontroller.h
@@ -45,8 +45,6 @@ class DlgPrefController : public DlgPreferencePage {
void slotLoadPreset(int index);
// Mark that we need to apply the settings.
void slotDirty();
- // Reload the mappings in the dropdown dialog
- void enumeratePresets();
signals:
void controllerEnabled(DlgPrefController*, bool);
@@ -88,6 +86,9 @@ class DlgPrefController : public DlgPreferencePage {
void savePreset(QString path);
void initTableView(QTableView* pTable);
+ // Reload the mappings in the dropdown dialog
+ void enumeratePresets();
+
void enableDevice();
void disableDevice();