mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-06 14:16:32 +02:00
* Removed obsolete QPixmap.
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user