From cede16bc5001bbef09b3b2b71ef231c1dd95ba80 Mon Sep 17 00:00:00 2001 From: Christian Muehlhaeuser Date: Wed, 28 Sep 2011 12:47:16 +0200 Subject: [PATCH] * Fixed collection-less results being marked offline. --- src/libtomahawk/result.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libtomahawk/result.cpp b/src/libtomahawk/result.cpp index 1d41c7efa..9df76c3b4 100644 --- a/src/libtomahawk/result.cpp +++ b/src/libtomahawk/result.cpp @@ -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() ); }