From 7f8e73d6f561a95fc6d7084149ded936f0d69c42 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 22 Dec 2013 03:40:39 -0600 Subject: Update to support latest TQt3 style API --- tdestyles/highcontrast/highcontrast.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tdestyles/highcontrast') 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(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); } } -- cgit v1.2.1