mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-05 05:37:29 +02:00
* Style fixes.
This commit is contained in:
@@ -107,11 +107,11 @@ Cache::getData( const QString& identifier, const QString& key )
|
|||||||
tLog() << Q_FUNC_INFO << "Removed stale entry:" << identifier << key;
|
tLog() << Q_FUNC_INFO << "Removed stale entry:" << identifier << key;
|
||||||
return QVariant();
|
return QVariant();
|
||||||
}
|
}
|
||||||
// tDebug( LOGVERBOSE ) << Q_FUNC_INFO << "Fetched data for" << identifier << key;
|
tDebug() << Q_FUNC_INFO << "Fetched data for" << identifier << key;
|
||||||
return data.data;
|
return data.data;
|
||||||
|
|
||||||
}
|
}
|
||||||
// tDebug( LOGVERBOSE ) << Q_FUNC_INFO << "No such key" << key;
|
tDebug() << Q_FUNC_INFO << "No such key" << key;
|
||||||
return QVariant();
|
return QVariant();
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -136,7 +136,8 @@ Cache::addClient( const QString& identifier )
|
|||||||
foreach ( const QVariant& client, clients )
|
foreach ( const QVariant& client, clients )
|
||||||
{
|
{
|
||||||
const QString client_identifier = client.toString();
|
const QString client_identifier = client.toString();
|
||||||
if ( identifier == client_identifier ) return;
|
if ( identifier == client_identifier )
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
tLog() << Q_FUNC_INFO << "adding client" << identifier;
|
tLog() << Q_FUNC_INFO << "adding client" << identifier;
|
||||||
|
Reference in New Issue
Block a user