QEventDispatcherWin32: Remove hook to dispatch GUI events.
In favour of doing it from within the windows procedure to maintain the ordering of messages.bb10
parent
ce01064f83
commit
ee6f25f1fe
|
|
@ -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));
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue