1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-20 07:49:42 +01: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
Result::isOnline() const
{
return ( !collection().isNull() && collection()->source()->isOnline() );
return ( ( !collection().isNull() && collection()->source()->isOnline() ) || collection().isNull() );
}