summaryrefslogtreecommitdiffstats
path: root/src/kernel/qstyle.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-11-14 14:49:15 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-11-14 14:49:15 -0600
commit367668d690ce2270f4d99f9a19ea800b6ea84a39 (patch)
treec7978af13b36d754db5b034238aeb629dc91830f /src/kernel/qstyle.cpp
parentdeb6f7b222e52035e99fa757e775c01e987a4eb5 (diff)
downloadtqt3-367668d690ce2270f4d99f9a19ea800b6ea84a39.tar.gz
tqt3-367668d690ce2270f4d99f9a19ea800b6ea84a39.zip
Automated update from Qt3
Diffstat (limited to 'src/kernel/qstyle.cpp')
-rw-r--r--src/kernel/qstyle.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/kernel/qstyle.cpp b/src/kernel/qstyle.cpp
index f32d73b9a..df83f00eb 100644
--- a/src/kernel/qstyle.cpp
+++ b/src/kernel/qstyle.cpp
@@ -2579,7 +2579,11 @@ TQSize TQStyle::sizeFromContents(ContentsType contents,
int TQStyle::styleHint(StyleHint sh, const TQWidget * w, const TQStyleOption &so, TQStyleHintReturn *shr) const
{
- TQStyleControlElementData ceData = populateControlElementDataFromWidget(w, so, false);
+ bool ceDataNotNeeded = false;
+ if (sh == SH_Widget_ShareActivation) {
+ ceDataNotNeeded = true;
+ }
+ TQStyleControlElementData ceData = populateControlElementDataFromWidget(w, so, false, ceDataNotNeeded);
return styleHint(sh, ceData, getControlElementFlagsForObject(w, ceData.widgetObjectTypes, TQStyleOption(), false), so, shr, w);
}