diff options
author | RJ Ryan <rryan@mixxx.org> | 2016-05-10 14:53:06 -0700 |
---|---|---|
committer | RJ Ryan <rryan@mixxx.org> | 2016-05-11 21:06:34 -0700 |
commit | b904c29a308b12d6ac1cec2f2c03bd85948f8fa2 (patch) | |
tree | aadce59721ad3ac9165317af954decd37af1aefb /src/controllers/dlgprefcontroller.h | |
parent | f068295b43453e63d9a8c67ff85f23897cb69cb9 (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.h | 5 |
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(); |