summaryrefslogtreecommitdiffstats
path: root/tdestyles/highcontrast/highcontrast.cpp
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 /tdestyles/highcontrast/highcontrast.cpp
parent9a47e7da0a6d9eb72e570acca32b43bae9206bb2 (diff)
downloadtdelibs-7f8e73d6f561a95fc6d7084149ded936f0d69c42.tar.gz
tdelibs-7f8e73d6f561a95fc6d7084149ded936f0d69c42.zip
Update to support latest TQt3 style API
Diffstat (limited to 'tdestyles/highcontrast/highcontrast.cpp')
-rw-r--r--tdestyles/highcontrast/highcontrast.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tdestyles/highcontrast/highcontrast.cpp b/tdestyles/highcontrast/highcontrast.cpp
index 9156e670f..ef20af360 100644
--- a/tdestyles/highcontrast/highcontrast.cpp
+++ b/tdestyles/highcontrast/highcontrast.cpp
@@ -168,8 +168,8 @@ void HighContrastStyle::polish (const TQStyleControlElementData &ceData, Control
TQSpinWidget* spinwidget = dynamic_cast<TQSpinWidget*>(widget);
if (spinwidget && spinwidget->editWidget()) {
TQWidget* spinEditWidget = spinwidget->editWidget();
- TQStyleControlElementData swCeData = populateControlElementDataFromWidget(spinEditWidget, TQStyleOption());
- ControlElementFlags swElementFlags = getControlElementFlagsForObject(spinEditWidget, swCeData.widgetObjectTypes, TQStyleOption());
+ const TQStyleControlElementData &swCeData = populateControlElementDataFromWidget(spinEditWidget, TQStyleOption());
+ ControlElementFlags swElementFlags = getControlElementFlagsForObject(spinEditWidget, TQStyleOption());
installObjectEventHandler(swCeData, swElementFlags, spinEditWidget, this);
}
}