summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorGunnar Sletta <gunnar@trolltech.com>2009-11-03 13:05:00 (GMT)
committerGunnar Sletta <gunnar@trolltech.com>2009-11-03 13:05:00 (GMT)
commit4c011468bb93a3d0b8e5cc0d9dd16e7528079119 (patch)
tree66a60f6ce6d09739788195b665ef6569d35184ca /src/gui
parent2e02518498379fc691a27ec96ae182aff436a38d (diff)
downloadQt-4c011468bb93a3d0b8e5cc0d9dd16e7528079119.zip
Qt-4c011468bb93a3d0b8e5cc0d9dd16e7528079119.tar.gz
Qt-4c011468bb93a3d0b8e5cc0d9dd16e7528079119.tar.bz2
Compile...
Reviewed-by: TrustMe
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/styles/qwindowsxpstyle.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/styles/qwindowsxpstyle.cpp b/src/gui/styles/qwindowsxpstyle.cpp
index 9fd9ce9..fe7f5d7 100644
--- a/src/gui/styles/qwindowsxpstyle.cpp
+++ b/src/gui/styles/qwindowsxpstyle.cpp
@@ -2926,10 +2926,10 @@ void QWindowsXPStyle::drawComplexControl(ComplexControl cc, const QStyleOptionCo
}
// Draw arrow
p->save();
- p->setPen(option->palette.dark());
+ p->setPen(option->palette.dark().color());
p->drawLine(menuarea.left(), menuarea.top() + 3,
menuarea.left(), menuarea.bottom() - 3);
- p->setPen(option->palette.light());
+ p->setPen(option->palette.light().color());
p->drawLine(menuarea.left() - 1, menuarea.top() + 3,
menuarea.left() - 1, menuarea.bottom() - 3);