summaryrefslogtreecommitdiffstats
path: root/src/styles/qcommonstyle.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-10-31 23:30:53 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-10-31 23:30:53 -0500
commitaf6b35e2ebfea3633e92b6f9496dd06ef8523c79 (patch)
tree3ef429b1f8bf9026376751268b4b54de81ccdef7 /src/styles/qcommonstyle.cpp
parentb0bd2889fa1058eec74c303b10cf8724a4c5efe2 (diff)
downloadtqt3-af6b35e2ebfea3633e92b6f9496dd06ef8523c79.tar.gz
tqt3-af6b35e2ebfea3633e92b6f9496dd06ef8523c79.zip
Automated update from Qt3
Diffstat (limited to 'src/styles/qcommonstyle.cpp')
-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 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<const TQToolBar*>(parentWidget);
+ if (toolbar) {
+ ceData.toolBarData.orientation = toolbar->orientation();
+ }
}
TQCheckListItem *item = opt.checkListItem();