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

List:       kde-commits
Subject:    kdemultimedia/juk
From:       Scott Wheeler <wheeler () kde ! org>
Date:       2005-02-22 21:40:11
Message-ID: 20050222214011.2408BED8A () office ! kde ! org
[Download RAW message or body]

CVS commit by wheeler: 

We don't want to send input events to the dialog while we're busy destroying it.


  M +2 -1      googlefetcherdialog.cpp   1.17


--- kdemultimedia/juk/googlefetcherdialog.cpp  #1.16:1.17
@@ -24,4 +24,5 @@
 #include <qlabel.h>
 #include <qpushbutton.h>
+#include <qeventloop.h>
 
 #include "googlefetcherdialog.h"
@@ -221,5 +222,5 @@ CoverIconViewItem::~CoverIconViewItem()
         // Drain results issued by KIO before being deleted,
         // and before deleting the job.
-        kapp->processEvents();
+        kapp->eventLoop()->processEvents(QEventLoop::ExcludeUserInput);
 
         delete m_job;


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

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