From f3ba4beffce99171b5daba0e2e9d15013457c9e0 Mon Sep 17 00:00:00 2001 From: Jeff Mitchell Date: Fri, 24 Jun 2011 12:26:44 -0400 Subject: [PATCH] Only emit if there are actually results --- src/libtomahawk/sourceplaylistinterface.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/libtomahawk/sourceplaylistinterface.cpp b/src/libtomahawk/sourceplaylistinterface.cpp index c25e53583..bf1836228 100644 --- a/src/libtomahawk/sourceplaylistinterface.cpp +++ b/src/libtomahawk/sourceplaylistinterface.cpp @@ -117,5 +117,6 @@ void SourcePlaylistInterface::resolvingFinished( bool hasResults ) { qDebug() << Q_FUNC_INFO << " and has results? : " << (hasResults ? "true" : "false"); - emit nextTrackReady(); + if ( hasResults ) + emit nextTrackReady(); } \ No newline at end of file