diff options
author | Jens Bache-Wiig <jens.bache-wiig@nokia.com> | 2010-12-22 13:34:16 (GMT) |
---|---|---|
committer | Jens Bache-Wiig <jens.bache-wiig@nokia.com> | 2010-12-22 13:39:24 (GMT) |
commit | a5110b5d40b70fb44ed98aa8861b676df1e78385 (patch) | |
tree | ce8e5288c4b791bf58eff5238e7635476c09c8df /src | |
parent | 51ca2e67fe20c3de5740279837916b8bcc4f7060 (diff) | |
download | Qt-a5110b5d40b70fb44ed98aa8861b676df1e78385.zip Qt-a5110b5d40b70fb44ed98aa8861b676df1e78385.tar.gz Qt-a5110b5d40b70fb44ed98aa8861b676df1e78385.tar.bz2 |
Fix timer regression for indeterminate progressbars
Indeterminate progressbars were broken since 4.7.0 due to
0f771c62f5253a969f5a8a81bfd9254b9bd58b8f
Since start was never called on QElapsedTimer,
the elaped time was undefined and resulted in random repaints
and behavior for indeterminate progressbars.
Task-number:QTBUG-15227
Reviewed-by:richard
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/styles/qwindowsstyle.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/styles/qwindowsstyle.cpp b/src/gui/styles/qwindowsstyle.cpp index 720dd6d..654be3c 100644 --- a/src/gui/styles/qwindowsstyle.cpp +++ b/src/gui/styles/qwindowsstyle.cpp @@ -130,6 +130,7 @@ QWindowsStylePrivate::QWindowsStylePrivate() pSHGetStockIconInfo = (PtrSHGetStockIconInfo)shellLib.resolve("SHGetStockIconInfo"); } #endif + startTime.start(); } // Returns true if the toplevel parent of \a widget has seen the Alt-key |