summaryrefslogtreecommitdiffstats
path: root/src/styles
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2012-11-02 15:27:42 -0500
committerDarrell Anderson <humanreadable@yahoo.com>2012-11-02 15:27:42 -0500
commit1ae1be3065a315252a7dfac96a9c981ed6727ae6 (patch)
treec4d51d9066fd845714fe305c9709c33db8073998 /src/styles
parent308537cb0eb307820f385f38c55dc1ccc47b343b (diff)
parent573f18421513021eee6b951b542574cdaf1e868a (diff)
downloadtqt3-1ae1be3065a315252a7dfac96a9c981ed6727ae6.tar.gz
tqt3-1ae1be3065a315252a7dfac96a9c981ed6727ae6.zip
Merge branch 'master' of http://scm.trinitydesktop.org/scm/git/tqt3
Diffstat (limited to 'src/styles')
-rw-r--r--src/styles/qcommonstyle.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/styles/qcommonstyle.cpp b/src/styles/qcommonstyle.cpp
index 213f04781..402354c62 100644
--- a/src/styles/qcommonstyle.cpp
+++ b/src/styles/qcommonstyle.cpp
@@ -576,6 +576,10 @@ TQStyleControlElementData populateControlElementDataFromWidget(const TQWidget* w
}
ceData.dwData.closeEnabled = dw->isCloseEnabled();
}
+ const TQToolBar * toolbar = dynamic_cast<const TQToolBar*>(parentWidget);
+ if (toolbar) {
+ ceData.toolBarData.orientation = toolbar->orientation();
+ }
}
TQCheckListItem *item = opt.checkListItem();