From 189c12d0b1d3362f490f26cc0fcd3005af8b426c Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 11 Nov 2012 18:02:30 -0600 Subject: Fix style crashes when used with third party toolkits --- tdefx/kstyle.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tdefx/kstyle.cpp') diff --git a/tdefx/kstyle.cpp b/tdefx/kstyle.cpp index b56705146..9f4b4a921 100644 --- a/tdefx/kstyle.cpp +++ b/tdefx/kstyle.cpp @@ -1471,7 +1471,7 @@ TQRect KStyle::querySubControlMetrics( TQ_ComplexControl control, bool platinumScrollBar = d->scrollbarType & PlatinumStyleScrollBar; bool nextScrollBar = d->scrollbarType & NextStyleScrollBar; - bool horizontal = ceData.orientation == Qt::Horizontal; + bool horizontal = ceData.orientation == TQt::Horizontal; int sliderstart = ceData.startStep; int sbextent = pixelMetric(PM_ScrollBarExtent, ceData, elementFlags, widget); int maxlen = (horizontal ? ceData.rect.width() : ceData.rect.height()) -- cgit v1.2.3