summaryrefslogtreecommitdiffstats
path: root/tdestyles/highcontrast/highcontrast.cpp
diff options
context:
space:
mode:
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);
}
}