diff options
author | Timothy Pearson <[email protected]> | 2012-07-28 15:50:52 -0500 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2012-08-04 14:53:35 +0200 |
commit | 5ae82a06c308960c66757b0a956500b05b83f002 (patch) | |
tree | e73bef929c230d306f377880042ce09894812ccd /src/widgets/qscrollbar.cpp | |
parent | e9fed234b762ffe73037d70bf29ce90ea7ab8d37 (diff) | |
download | qt3-5ae82a06c308960c66757b0a956500b05b83f002.tar.gz qt3-5ae82a06c308960c66757b0a956500b05b83f002.zip |
Fix build warningsv3.5.13.1
Thanks to Bruce Sass for the patch!
(cherry picked from commit ebcb1d80bf517aceb69778e1e9f67e5f4da8c484)
Diffstat (limited to 'src/widgets/qscrollbar.cpp')
-rw-r--r-- | src/widgets/qscrollbar.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgets/qscrollbar.cpp b/src/widgets/qscrollbar.cpp index 9a5e8f4..5ffe7e9 100644 --- a/src/widgets/qscrollbar.cpp +++ b/src/widgets/qscrollbar.cpp @@ -643,7 +643,7 @@ void QScrollBar::mousePressEvent( QMouseEvent *e ) pressedControl == QStyle::SC_ScrollBarSubPage || pressedControl == QStyle::SC_ScrollBarSlider ) && ((midButtonAbsPos && e->button() == MidButton) || - style().styleHint(QStyle::SH_ScrollBar_LeftClickAbsolutePosition) && e->button() == LeftButton)) { + (style().styleHint(QStyle::SH_ScrollBar_LeftClickAbsolutePosition) && e->button() == LeftButton)) ) { QRect sr = style().querySubControlMetrics(QStyle::CC_ScrollBar, this, QStyle::SC_ScrollBarSlider ), |