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

* Removed obsolete QPixmap.

This commit is contained in:
Christian Muehlhaeuser
2013-03-30 09:11:54 +01:00
parent 70fdf2b0ea
commit 32cbc09595

View File

@@ -136,11 +136,10 @@ Source::nodeId() const
QString QString
Source::friendlyName() const Source::friendlyName() const
{ {
QPixmap result;
QStringList candidateNames; QStringList candidateNames;
foreach( const peerinfo_ptr& peerInfo, peerInfos() ) foreach ( const peerinfo_ptr& peerInfo, peerInfos() )
{ {
if( !peerInfo.isNull() && !peerInfo->friendlyName().isEmpty() ) if ( !peerInfo.isNull() && !peerInfo->friendlyName().isEmpty() )
{ {
candidateNames.append( peerInfo->friendlyName() ); candidateNames.append( peerInfo->friendlyName() );
} }
@@ -488,7 +487,8 @@ Source::lastCmdGuid() const
void void
Source::setLastCmdGuid( const QString& guid ) Source::setLastCmdGuid( const QString& guid )
{ {
tLog() << Q_FUNC_INFO << "name is " << friendlyName() << " and guid is " << guid; tLog( LOGVERBOSE ) << Q_FUNC_INFO << "name is" << friendlyName() << "and guid is" << guid;
QMutexLocker lock( &m_cmdMutex ); QMutexLocker lock( &m_cmdMutex );
m_lastCmdGuid = guid; m_lastCmdGuid = guid;
} }