summaryrefslogtreecommitdiffstats
path: root/src/library/recording/recordingfeature.h
diff options
context:
space:
mode:
authorRJ Ryan <rryan@mixxx.org>2016-01-24 22:57:41 -0800
committerRJ Ryan <rryan@mixxx.org>2016-01-24 22:57:41 -0800
commit83e58a40a109acda194078ad8e53d07de68799bd (patch)
tree1a42d622c056aee939aa618abfbcdd0969ed5a23 /src/library/recording/recordingfeature.h
parent479c9e15159299667f2f7d16d65a8565f656a376 (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/library/recording/recordingfeature.h')
-rw-r--r--src/library/recording/recordingfeature.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/library/recording/recordingfeature.h b/src/library/recording/recordingfeature.h
index 1f2c9da6f2..ae274e35e7 100644
--- a/src/library/recording/recordingfeature.h
+++ b/src/library/recording/recordingfeature.h
@@ -7,7 +7,7 @@
#include <QStringListModel>
#include <QSortFilterProxyModel>
-#include "configobject.h"
+#include "preferences/usersettings.h"
#include "library/browse/browsetablemodel.h"
#include "library/browse/foldertreemodel.h"
#include "library/libraryfeature.h"
@@ -21,7 +21,7 @@ class RecordingFeature : public LibraryFeature {
Q_OBJECT
public:
RecordingFeature(Library* parent,
- ConfigObject<ConfigValue>* pConfig,
+ UserSettingsPointer pConfig,
TrackCollection* pTrackCollection,
RecordingManager* pRecordingManager);
virtual ~RecordingFeature();
@@ -43,7 +43,7 @@ class RecordingFeature : public LibraryFeature {
void refreshBrowseModel();
private:
- ConfigObject<ConfigValue>* m_pConfig;
+ UserSettingsPointer m_pConfig;
Library* m_pLibrary;
TrackCollection* m_pTrackCollection;
FolderTreeModel m_childModel;