[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    extragear/multimedia/amarok/playground/src/context/engines/videoclip
From:       Simon Esneault <simon.esneault () gmail ! com>
Date:       2009-06-01 15:21:58
Message-ID: 1243869718.812885.8923.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 976399 by sesneault:

Makes sure all the job are done before to send the message "no video"


 M  +1 -2      VideoclipEngine.cpp  


--- trunk/extragear/multimedia/amarok/playground/src/context/engines/videoclip/VideoclipEngine.cpp \
#976398:976399 @@ -411,7 +411,7 @@
 void VideoclipEngine::resultFinalize()
 {
 	//DEBUG_BLOCK
-    if ( m_video.empty())
+    if ( m_video.empty() && m_nbJobs == 0)
     {
  //       debug() << "No Video clip found";
         setData( "videoclip", "message", i18n( "No video clip found..." ) );
@@ -462,7 +462,6 @@
             sorting << QPair < int, QString> (item->relevancy, item->url) ;
         qSort(sorting.begin(), sorting.end(), qGreater<QPair < int, QString> >());
 
-        
         // remove previous message
         removeData( "videoclip", "message" );
         


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic