From 1032cb5e05df384c08d50b33ccae3251d15a6265 Mon Sep 17 00:00:00 2001 From: Dominik Schmidt Date: Sun, 27 Jan 2013 23:13:28 +0100 Subject: [PATCH] Easier API is easier --- src/libtomahawk/Source.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libtomahawk/Source.cpp b/src/libtomahawk/Source.cpp index ffbb249ab..d4ca75ee1 100644 --- a/src/libtomahawk/Source.cpp +++ b/src/libtomahawk/Source.cpp @@ -92,7 +92,7 @@ Source::peerInfos() const { return controlConnection()->peerInfos(); } - else if ( this == SourceList::instance()->getLocal().data() ) + else if ( isLocal() ) { return PeerInfo::getAllSelf().toSet();