summaryrefslogtreecommitdiffstats
path: root/src/gui/widgets/qabstractslider_p.h
diff options
context:
space:
mode:
authorQt Continuous Integration System <qt-info@nokia.com>2010-11-25 20:53:52 (GMT)
committerQt Continuous Integration System <qt-info@nokia.com>2010-11-25 20:53:52 (GMT)
commitccebbb663a1b21204057d8b799de3ddf1b63307e (patch)
treeb166fa2adbe5d7ab807189b2eb84edb4b5c0facb /src/gui/widgets/qabstractslider_p.h
parent8deaf82914c5ec8da7bc49f913d03a3754e1af0c (diff)
parent68affbdc60b6cc48b6e7786ffffe2b7512cade64 (diff)
downloadQt-ccebbb663a1b21204057d8b799de3ddf1b63307e.zip
Qt-ccebbb663a1b21204057d8b799de3ddf1b63307e.tar.gz
Qt-ccebbb663a1b21204057d8b799de3ddf1b63307e.tar.bz2
Merge branch 'master' of scm.dev.nokia.troll.no:qt/oslo-staging-1 into master-integration
* 'master' of scm.dev.nokia.troll.no:qt/oslo-staging-1: fix performance penalty in Win32MakefileGenerator::findHighestVersion Allow QDial to wrap value when wrapping property is set. QtScript variant conversion: Convert numbers to (u)int if applicable (reviewed by khansen)
Diffstat (limited to 'src/gui/widgets/qabstractslider_p.h')
-rw-r--r--src/gui/widgets/qabstractslider_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/qabstractslider_p.h b/src/gui/widgets/qabstractslider_p.h
index 19d1fca..d044131 100644
--- a/src/gui/widgets/qabstractslider_p.h
+++ b/src/gui/widgets/qabstractslider_p.h
@@ -117,7 +117,7 @@ public:
;
}
- inline int bound(int val) const { return qMax(minimum, qMin(maximum, val)); }
+ virtual int bound(int val) const { return qMax(minimum, qMin(maximum, val)); }
inline int overflowSafeAdd(int add) const
{
int newValue = value + add;