diff options
author | Pulse Build System <qt-info@nokia.com> | 2010-01-26 12:33:55 (GMT) |
---|---|---|
committer | Pulse Build System <qt-info@nokia.com> | 2010-01-26 12:33:55 (GMT) |
commit | 7bc7f6d0901cb4700c98c63aca53b494f55914e4 (patch) | |
tree | 8536e30e5fc1c61c23625f400d06a0365276e2e1 /src/gui/styles | |
parent | 8cb85d5cb47f06f01f70781e9762a716cabdc73a (diff) | |
parent | 5bd05fbe1210a0d806f70a7570ae884c98ee1493 (diff) | |
download | Qt-7bc7f6d0901cb4700c98c63aca53b494f55914e4.zip Qt-7bc7f6d0901cb4700c98c63aca53b494f55914e4.tar.gz Qt-7bc7f6d0901cb4700c98c63aca53b494f55914e4.tar.bz2 |
Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/oslo-staging-2 into master-integration
* 'master' of git@scm.dev.nokia.troll.no:qt/oslo-staging-2:
Fixed compile for wincewm60standard-msvc2008 (attempt 2)
Fixed compile for wincewm60standard-msvc2008.
Fixed compile.
Fixed compile for wincewm60standard-msvc2008.
Fixed compile when Qt is configured with -no-webkit
build fix for mingw
Build fix for MSVC2005 and older SDK
QStyleSheetStyle: Fixed some text croped when having padding with native border.
Remove obsolete code for unsupported platforms
Character spacing when drawing a QPicture to a high DPI device.
Diffstat (limited to 'src/gui/styles')
-rw-r--r-- | src/gui/styles/qstylesheetstyle.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/styles/qstylesheetstyle.cpp b/src/gui/styles/qstylesheetstyle.cpp index dab93a2..9002172 100644 --- a/src/gui/styles/qstylesheetstyle.cpp +++ b/src/gui/styles/qstylesheetstyle.cpp @@ -1065,7 +1065,7 @@ QRect QRenderRule::boxRect(const QRect& cr, int flags) const r.adjust(-p[LeftEdge], -p[TopEdge], p[RightEdge], p[BottomEdge]); } } - if (!hasNativeBorder() && (flags & Border)) { + if (hasBorder() && (flags & Border)) { const int *b = border()->borders; r.adjust(-b[LeftEdge], -b[TopEdge], b[RightEdge], b[BottomEdge]); } |