1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-11 08:34:34 +02:00

* Style fixes to TomahawkSettings.

This commit is contained in:
Christian Muehlhaeuser
2014-09-12 03:31:12 +02:00
parent 0c50c0ed7e
commit 542f6763af
2 changed files with 5 additions and 4 deletions

View File

@@ -1,6 +1,6 @@
/* === This file is part of Tomahawk Player - <http://tomahawk-player.org> ===
*
* Copyright 2010-2011, Christian Muehlhaeuser <muesli@tomahawk-player.org>
* Copyright 2010-2014, Christian Muehlhaeuser <muesli@tomahawk-player.org>
* Copyright 2010-2011 Leo Franchi <lfranchi@kde.org>
* Copyright 2010-2012, Jeff Mitchell <jeff@tomahawk-player.org>
*
@@ -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
{

View File

@@ -1,6 +1,6 @@
/* === This file is part of Tomahawk Player - <http://tomahawk-player.org> ===
*
* Copyright 2010-2011, Christian Muehlhaeuser <muesli@tomahawk-player.org>
* Copyright 2010-2014, Christian Muehlhaeuser <muesli@tomahawk-player.org>
* Copyright 2010-2012 Leo Franchi <lfranchi@kde.org>
* Copyright 2010-2012, Jeff Mitchell <jeff@tomahawk-player.org>
*
@@ -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 );