summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorGunnar Sletta <gunnar@trolltech.com>2009-11-03 13:05:00 (GMT)
committerKai Koehne <kai.koehne@nokia.com>2009-11-06 09:51:36 (GMT)
commit371856e3e37670ae5333f2d170d56f867e1350d7 (patch)
tree2ea746b139d593c839ab12acd0ee51829944929e /src/gui
parent7ca6cf9d331fe2e78e9da6b6373786ec43007219 (diff)
downloadQt-371856e3e37670ae5333f2d170d56f867e1350d7.zip
Qt-371856e3e37670ae5333f2d170d56f867e1350d7.tar.gz
Qt-371856e3e37670ae5333f2d170d56f867e1350d7.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);