diff options
author | Aleksandar Sasha Babic <aleksandar.babic@nokia.com> | 2009-12-18 12:28:14 (GMT) |
---|---|---|
committer | Aleksandar Sasha Babic <aleksandar.babic@nokia.com> | 2009-12-18 14:05:46 (GMT) |
commit | bc3c35220e445cb0cffdc0af55f2071566dbffa0 (patch) | |
tree | 8aa76ddbe4165435858bcfbdaa562f7cfe8be67e /src/gui | |
parent | c673c77b7d82b7201d8715679a27d0836d11e50e (diff) | |
download | Qt-bc3c35220e445cb0cffdc0af55f2071566dbffa0.zip Qt-bc3c35220e445cb0cffdc0af55f2071566dbffa0.tar.gz Qt-bc3c35220e445cb0cffdc0af55f2071566dbffa0.tar.bz2 |
Fixing compile issue on Windows CE
Reviewed-by: TrustMe
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/widgets/qabstractspinbox.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/gui/widgets/qabstractspinbox.cpp b/src/gui/widgets/qabstractspinbox.cpp index c036c32..a59cd48 100644 --- a/src/gui/widgets/qabstractspinbox.cpp +++ b/src/gui/widgets/qabstractspinbox.cpp @@ -1180,12 +1180,10 @@ static int getKeyboardAutoRepeatRate() { TTimeIntervalMicroSeconds32 time; S60->wsSession().GetKeyboardRepeatRate(initialTime, time); ret = time.Int() / 1000; // msecs -#elif defined(Q_OS_WIN) +#elif defined(Q_OS_WIN) and !defined(Q_OS_WINCE) DWORD time; if (SystemParametersInfo(SPI_GETKEYBOARDSPEED, 0, &time, 0) != FALSE) ret = static_cast<int>(1000 / static_cast<int>(time)); // msecs -#else -#pragma message("Using default guesstimated value for keyboard repeat rate") #endif return ret; // msecs } |