Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 416d4393 authored by Scott Wheeler's avatar Scott Wheeler

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

svn path=/trunk/kdemultimedia/juk/; revision=392422
parent 4df2b24a
......@@ -23,6 +23,7 @@
#include <qimage.h>
#include <qlabel.h>
#include <qpushbutton.h>
#include <qeventloop.h>
#include "googlefetcherdialog.h"
#include "tag.h"
......@@ -220,7 +221,7 @@ 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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment