diff options
author | RJ Ryan <rryan@mixxx.org> | 2016-01-24 22:57:41 -0800 |
---|---|---|
committer | RJ Ryan <rryan@mixxx.org> | 2016-01-24 22:57:41 -0800 |
commit | 83e58a40a109acda194078ad8e53d07de68799bd (patch) | |
tree | 1a42d622c056aee939aa618abfbcdd0969ed5a23 /src/engine/sidechain/enginesidechain.h | |
parent | 479c9e15159299667f2f7d16d65a8565f656a376 (diff) |
Use UserSettings (typedef) instead of ConfigObject.
This will allow us to experiment with different implementations for
structured user preferences. It will also reduce repeated typing of
template arguments and better represent the purpose of the object.
Diffstat (limited to 'src/engine/sidechain/enginesidechain.h')
-rw-r--r-- | src/engine/sidechain/enginesidechain.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/engine/sidechain/enginesidechain.h b/src/engine/sidechain/enginesidechain.h index 8391ea87e1..af65873f70 100644 --- a/src/engine/sidechain/enginesidechain.h +++ b/src/engine/sidechain/enginesidechain.h @@ -22,7 +22,7 @@ #include <QWaitCondition> #include <QList> -#include "configobject.h" +#include "preferences/usersettings.h" #include "engine/sidechain/sidechainworker.h" #include "util/fifo.h" #include "util/types.h" @@ -30,7 +30,7 @@ class EngineSideChain : public QThread { Q_OBJECT public: - EngineSideChain(ConfigObject<ConfigValue>* pConfig); + EngineSideChain(UserSettingsPointer pConfig); virtual ~EngineSideChain(); // Not thread-safe, wait-free. Submit buffer of samples to the sidechain for @@ -44,7 +44,7 @@ class EngineSideChain : public QThread { private: void run(); - ConfigObject<ConfigValue>* m_pConfig; + UserSettingsPointer m_pConfig; // Indicates that the thread should exit. volatile bool m_bStopThread; |