summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorIvan Timofeev <timofeev.i.s@gmail.com>2012-11-21 18:13:18 +0400
committerIvan Timofeev <timofeev.i.s@gmail.com>2012-11-21 18:21:59 +0400
commitd5e8be8bab87b91710d3cec9039d2feff78b50ba (patch)
tree9127fdfea2b2bac4fd6370d3658f8f9594449f4e /vcl
parentdd2a12d5199c36950b1480a9aab96e07dc4afcd2 (diff)
KDESalGraphics: fix CTRL_LISTNODE drawing in expanded state
Change-Id: Ia70f1b3e2afb459bf91748f9e4ba0a0cbde74260
Diffstat (limited to 'vcl')
-rw-r--r--vcl/unx/kde4/KDESalGraphics.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/unx/kde4/KDESalGraphics.cxx b/vcl/unx/kde4/KDESalGraphics.cxx
index b6d26b40c367..fdbbbbdc6b1d 100644
--- a/vcl/unx/kde4/KDESalGraphics.cxx
+++ b/vcl/unx/kde4/KDESalGraphics.cxx
@@ -457,7 +457,7 @@ sal_Bool KDESalGraphics::drawNativeControl( ControlType type, ControlPart part,
QStyleOption option;
option.state = QStyle::State_Item | QStyle::State_Children;
- if (nControlState & CTRL_STATE_PRESSED)
+ if (value.getTristateVal() == BUTTONVALUE_ON)
option.state |= QStyle::State_Open;
draw( QStyle::PE_IndicatorBranch, &option, m_image,