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/library/baseplaylistfeature.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/library/baseplaylistfeature.h')
-rw-r--r-- | src/library/baseplaylistfeature.h | 4 |
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; |