diff --git a/src/libtomahawk/TomahawkSettings.cpp b/src/libtomahawk/TomahawkSettings.cpp index 631554d62..31b86c0a4 100644 --- a/src/libtomahawk/TomahawkSettings.cpp +++ b/src/libtomahawk/TomahawkSettings.cpp @@ -1,6 +1,6 @@ /* === This file is part of Tomahawk Player - === * - * Copyright 2010-2011, Christian Muehlhaeuser + * Copyright 2010-2014, Christian Muehlhaeuser * Copyright 2010-2011 Leo Franchi * Copyright 2010-2012, Jeff Mitchell * @@ -708,18 +708,21 @@ TomahawkSettings::infoSystemCacheVersion() const return value( "infosystemcacheversion", 0 ).toUInt(); } + void TomahawkSettings::setGenericCacheVersion( uint version ) { setValue( "genericcacheversion", version ); } + uint TomahawkSettings::genericCacheVersion() const { return value( "genericcacheversion", 0 ).toUInt(); } + QString TomahawkSettings::storageCacheLocation() const { diff --git a/src/libtomahawk/TomahawkSettings.h b/src/libtomahawk/TomahawkSettings.h index 3e9f800d7..716298e7d 100644 --- a/src/libtomahawk/TomahawkSettings.h +++ b/src/libtomahawk/TomahawkSettings.h @@ -1,6 +1,6 @@ /* === This file is part of Tomahawk Player - === * - * Copyright 2010-2011, Christian Muehlhaeuser + * Copyright 2010-2014, Christian Muehlhaeuser * Copyright 2010-2012 Leo Franchi * Copyright 2010-2012, Jeff Mitchell * @@ -59,7 +59,6 @@ public: uint infoSystemCacheVersion() const; void setInfoSystemCacheVersion( uint version ); - uint genericCacheVersion() const; void setGenericCacheVersion( uint version ); @@ -242,7 +241,6 @@ public: QByteArray playdarKey() const; void setPlaydarKey( const QByteArray& key ); - signals: void changed(); void recentlyPlayedPlaylistAdded( const QString& playlistId, int sourceId );