summaryrefslogtreecommitdiffstats
path: root/src/corelib/kernel
diff options
context:
space:
mode:
authorThierry Bastian <thierry.bastian@nokia.com>2010-07-02 12:38:33 (GMT)
committerThierry Bastian <thierry.bastian@nokia.com>2010-07-02 12:48:20 (GMT)
commit6a405778ca053d05d32ea8e0949bee917c0316e2 (patch)
tree6cfd014ca076a285b7323e0d3d0a21cd8bfa6c4b /src/corelib/kernel
parente9a314d6734972254f52b64da77d4c5d8762517a (diff)
downloadQt-6a405778ca053d05d32ea8e0949bee917c0316e2.zip
Qt-6a405778ca053d05d32ea8e0949bee917c0316e2.tar.gz
Qt-6a405778ca053d05d32ea8e0949bee917c0316e2.tar.bz2
Crash when dragging with mingw
The problem was that there was a misalignment coming from the d&d code. That called in the end our SSE optimized functions. This code turns out to be calling QApplication::processEvents which in the the calls the Qt event dispatcher for windows' processEvents function. This function will now also always align the stack to 16 bytes and be SSE ready. Task-number: QTBUG-11880 Reviewed-by: Zeno Albisser
Diffstat (limited to 'src/corelib/kernel')
-rw-r--r--src/corelib/kernel/qeventdispatcher_win_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/kernel/qeventdispatcher_win_p.h b/src/corelib/kernel/qeventdispatcher_win_p.h
index 788cc44..b219841 100644
--- a/src/corelib/kernel/qeventdispatcher_win_p.h
+++ b/src/corelib/kernel/qeventdispatcher_win_p.h
@@ -76,7 +76,7 @@ public:
explicit QEventDispatcherWin32(QObject *parent = 0);
~QEventDispatcherWin32();
- bool processEvents(QEventLoop::ProcessEventsFlags flags);
+ bool QT_ENSURE_STACK_ALIGNED_FOR_SSE processEvents(QEventLoop::ProcessEventsFlags flags);
bool hasPendingEvents();
void registerSocketNotifier(QSocketNotifier *notifier);