mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-18 11:51:44 +02:00
* Style fixes.
This commit is contained in:
@@ -215,7 +215,7 @@ InfoSystemCache::updateCacheSlot( Tomahawk::InfoSystem::InfoStringHash criteria,
|
|||||||
QDir dir( cacheDir );
|
QDir dir( cacheDir );
|
||||||
if( !dir.exists( cacheDir ) )
|
if( !dir.exists( cacheDir ) )
|
||||||
{
|
{
|
||||||
qDebug() << "Creating cache directory " << cacheDir;
|
qDebug() << "Creating cache directory" << cacheDir;
|
||||||
if( !dir.mkpath( cacheDir ) )
|
if( !dir.mkpath( cacheDir ) )
|
||||||
{
|
{
|
||||||
tLog() << "Failed to create cache dir! Bailing...";
|
tLog() << "Failed to create cache dir! Bailing...";
|
||||||
|
@@ -79,7 +79,7 @@ Cache::pruneTimerFired()
|
|||||||
if ( data.maxAge < currentMSecsSinceEpoch )
|
if ( data.maxAge < currentMSecsSinceEpoch )
|
||||||
{
|
{
|
||||||
cached_settings.remove( key );
|
cached_settings.remove( key );
|
||||||
tLog() << Q_FUNC_INFO << "Removed stale entry: " << client_identifier << key;
|
tLog() << Q_FUNC_INFO << "Removed stale entry:" << client_identifier << key;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
cached_settings.sync();
|
cached_settings.sync();
|
||||||
|
Reference in New Issue
Block a user