diff options
author | Aleksandar Sasha Babic <aleksandar.babic@nokia.com> | 2009-12-18 13:28:14 +0100 |
---|---|---|
committer | Aleksandar Sasha Babic <aleksandar.babic@nokia.com> | 2009-12-18 15:05:46 +0100 |
commit | bc3c35220e445cb0cffdc0af55f2071566dbffa0 (patch) | |
tree | 8aa76ddbe4165435858bcfbdaa562f7cfe8be67e /src/gui/widgets/qabstractspinbox.cpp | |
parent | c673c77b7d82b7201d8715679a27d0836d11e50e (diff) | |
download | qt4-tools-bc3c35220e445cb0cffdc0af55f2071566dbffa0.tar.gz |
Fixing compile issue on Windows CE
Reviewed-by: TrustMe
Diffstat (limited to 'src/gui/widgets/qabstractspinbox.cpp')
-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 c036c32f72..a59cd481f1 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 } |