summaryrefslogtreecommitdiffstats
path: root/src/corelib/kernel
diff options
context:
space:
mode:
authorBradley T. Hughes <bradley.hughes@nokia.com>2010-11-22 09:52:31 (GMT)
committerBradley T. Hughes <bradley.hughes@nokia.com>2010-11-22 09:52:31 (GMT)
commit4214d58abd394eea2793f05a554bd9885b53d418 (patch)
tree0e60d2ecf7e749b05e18fcd57cd66e016ea94ebf /src/corelib/kernel
parente4649285568769d7dd698446f07086197c956df0 (diff)
downloadQt-4214d58abd394eea2793f05a554bd9885b53d418.zip
Qt-4214d58abd394eea2793f05a554bd9885b53d418.tar.gz
Qt-4214d58abd394eea2793f05a554bd9885b53d418.tar.bz2
Compile when USER_TIMER_MINIMUM isn't defined
Just user a value of zero instead. Windows will use USER_TIMER_MINIMUM anyways (according to the SetTimer() docs). Reviewed-by: trustme
Diffstat (limited to 'src/corelib/kernel')
-rw-r--r--src/corelib/kernel/qeventdispatcher_win.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/kernel/qeventdispatcher_win.cpp b/src/corelib/kernel/qeventdispatcher_win.cpp
index 3dccda6..4eb0073 100644
--- a/src/corelib/kernel/qeventdispatcher_win.cpp
+++ b/src/corelib/kernel/qeventdispatcher_win.cpp
@@ -538,7 +538,7 @@ LRESULT QT_WIN_CALLBACK qt_GetMessageHook(int code, WPARAM wp, LPARAM lp)
// there are still input and timer messages in the message queue
d->sendPostedEventsWindowsTimerId = SetTimer(d->internalHwnd,
SendPostedEventsWindowsTimerId,
- USER_TIMER_MINIMUM,
+ 0, // we specify zero, but Windows uses USER_TIMER_MINIMUM
NULL);
// we don't check the return value of SetTimer()... if creating the timer failed, there's little
// we can do. we just have to accept that posted events will be starved