summaryrefslogtreecommitdiffstats
path: root/src/library/baseplaylistfeature.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/baseplaylistfeature.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/baseplaylistfeature.h')
-rw-r--r--src/library/baseplaylistfeature.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/library/baseplaylistfeature.h b/src/library/baseplaylistfeature.h
index 1e2fb88a3f..b28d6301fd 100644
--- a/src/library/baseplaylistfeature.h
+++ b/src/library/baseplaylistfeature.h
@@ -26,7 +26,7 @@ class BasePlaylistFeature : public LibraryFeature {
Q_OBJECT
public:
BasePlaylistFeature(QObject* parent,
- ConfigObject<ConfigValue>* pConfig,
+ UserSettingsPointer pConfig,
TrackCollection* pTrackCollection,
QString rootViewName);
virtual ~BasePlaylistFeature();
@@ -77,7 +77,7 @@ class BasePlaylistFeature : public LibraryFeature {
// on failure.
QModelIndex indexFromPlaylistId(int playlistId);
- ConfigObject<ConfigValue>* m_pConfig;
+ UserSettingsPointer m_pConfig;
TrackCollection* m_pTrackCollection;
PlaylistDAO &m_playlistDao;
TrackDAO &m_trackDao;