summaryrefslogtreecommitdiffstats
path: root/src/styles
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2012-11-02 17:25:22 -0500
committerDarrell Anderson <humanreadable@yahoo.com>2012-11-02 17:25:22 -0500
commitf7873ac3368532ee4ab09e77e5112d7b6b1a8069 (patch)
tree017ba371afaf0aa399de342c43bd06ff8cdff2c7 /src/styles
parent0a232e5b3c2875e68d97be690beec7da1ccc65ba (diff)
parent180abfff4d31bc8db66fea92cf070ff21b7a5e2f (diff)
downloadqt3-f7873ac3368532ee4ab09e77e5112d7b6b1a8069.tar.gz
qt3-f7873ac3368532ee4ab09e77e5112d7b6b1a8069.zip
Merge branch 'master' of http://scm.trinitydesktop.org/scm/git/qt3
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 3a1a8d8..1cc2540 100644
--- a/src/styles/qcommonstyle.cpp
+++ b/src/styles/qcommonstyle.cpp
@@ -576,6 +576,10 @@ QStyleControlElementData populateControlElementDataFromWidget(const QWidget* wid
}
ceData.dwData.closeEnabled = dw->isCloseEnabled();
}
+ const QToolBar * toolbar = dynamic_cast<const QToolBar*>(parentWidget);
+ if (toolbar) {
+ ceData.toolBarData.orientation = toolbar->orientation();
+ }
}
QCheckListItem *item = opt.checkListItem();