1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-07-31 03:10:12 +02:00

* Fixed collection-less results being marked offline.

This commit is contained in:
Christian Muehlhaeuser
2011-09-28 12:47:16 +02:00
parent e57105669c
commit cede16bc50

View File

@@ -128,7 +128,7 @@ Result::id() const
bool bool
Result::isOnline() const Result::isOnline() const
{ {
return ( !collection().isNull() && collection()->source()->isOnline() ); return ( ( !collection().isNull() && collection()->source()->isOnline() ) || collection().isNull() );
} }