QEventDispatcherWin32: Remove hook to dispatch GUI events.

In favour of doing it from within the windows procedure
to maintain the ordering of messages.
bb10
Friedemann Kleint 2011-06-30 15:40:43 +02:00
parent ce01064f83
commit ee6f25f1fe
2 changed files with 0 additions and 7 deletions

View File

@ -643,11 +643,6 @@ QEventDispatcherWin32::~QEventDispatcherWin32()
{
}
bool QEventDispatcherWin32::dispatchGuiEvents(QEventLoop::ProcessEventsFlags)
{
return false;
}
bool QEventDispatcherWin32::processEvents(QEventLoop::ProcessEventsFlags flags)
{
Q_D(QEventDispatcherWin32);
@ -750,7 +745,6 @@ bool QEventDispatcherWin32::processEvents(QEventLoop::ProcessEventsFlags flags)
if (!filterEvent(&msg)) {
TranslateMessage(&msg);
DispatchMessage(&msg);
dispatchGuiEvents(flags);
}
} else if (waitRet >= WAIT_OBJECT_0 && waitRet < WAIT_OBJECT_0 + nCount) {
d->activateEventNotifier(d->winEventNotifierList.at(waitRet - WAIT_OBJECT_0));

View File

@ -104,7 +104,6 @@ public:
protected:
QEventDispatcherWin32(QEventDispatcherWin32Private &dd, QObject *parent = 0);
virtual bool dispatchGuiEvents(QEventLoop::ProcessEventsFlags flags);
private:
friend LRESULT QT_WIN_CALLBACK qt_internal_proc(HWND hwnd, UINT message, WPARAM wp, LPARAM lp);