1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-05 21:57:41 +02:00

Easier API is easier

This commit is contained in:
Dominik Schmidt
2013-01-27 23:13:28 +01:00
parent 3b65d7b474
commit 1032cb5e05

View File

@@ -92,7 +92,7 @@ Source::peerInfos() const
{ {
return controlConnection()->peerInfos(); return controlConnection()->peerInfos();
} }
else if ( this == SourceList::instance()->getLocal().data() ) else if ( isLocal() )
{ {
return PeerInfo::getAllSelf().toSet(); return PeerInfo::getAllSelf().toSet();