summaryrefslogtreecommitdiffstats
path: root/tdefx
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-12-22 03:40:39 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-12-22 03:40:39 -0600
commit7f8e73d6f561a95fc6d7084149ded936f0d69c42 (patch)
tree491cad036ce70e166a8797ae0026a70bc7c9b692 /tdefx
parent9a47e7da0a6d9eb72e570acca32b43bae9206bb2 (diff)
downloadtdelibs-7f8e73d6f561a95fc6d7084149ded936f0d69c42.tar.gz
tdelibs-7f8e73d6f561a95fc6d7084149ded936f0d69c42.zip
Update to support latest TQt3 style API
Diffstat (limited to 'tdefx')
-rw-r--r--tdefx/tdestyle.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/tdefx/tdestyle.cpp b/tdefx/tdestyle.cpp
index 576b56777..73bf983a0 100644
--- a/tdefx/tdestyle.cpp
+++ b/tdefx/tdestyle.cpp
@@ -351,8 +351,8 @@ void TDEStyle::drawTDEStylePrimitive( TDEStylePrimitive kpe,
SFlags flags,
const TQStyleOption &opt ) const
{
- TQStyleControlElementData ceData = populateControlElementDataFromWidget(widget, TQStyleOption());
- drawTDEStylePrimitive(kpe, p, ceData, getControlElementFlagsForObject(widget, ceData.widgetObjectTypes, TQStyleOption()), r, cg, flags, opt);
+ const TQStyleControlElementData &ceData = populateControlElementDataFromWidget(widget, TQStyleOption());
+ drawTDEStylePrimitive(kpe, p, ceData, getControlElementFlagsForObject(widget, TQStyleOption()), r, cg, flags, opt);
}
void TDEStyle::drawTDEStylePrimitive( TDEStylePrimitive kpe,
@@ -1022,7 +1022,6 @@ int TDEStyle::pixelMetric(PixelMetric m, const TQStyleControlElementData &ceData
case PM_DockWindowHandleExtent:
{
- TQWidget* parent = 0;
// Check that we are not a normal toolbar or a hidden dockwidget,
// in which case we need to adjust the height for font size
if (widget