From af6b35e2ebfea3633e92b6f9496dd06ef8523c79 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Wed, 31 Oct 2012 23:30:53 -0500 Subject: Automated update from Qt3 --- src/styles/qcommonstyle.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/styles') diff --git a/src/styles/qcommonstyle.cpp b/src/styles/qcommonstyle.cpp index 213f0478..402354c6 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(parentWidget); + if (toolbar) { + ceData.toolBarData.orientation = toolbar->orientation(); + } } TQCheckListItem *item = opt.checkListItem(); -- cgit v1.2.3