summaryrefslogtreecommitdiffstats
path: root/tdefx
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-11-11 18:02:30 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-11-11 18:02:30 -0600
commit189c12d0b1d3362f490f26cc0fcd3005af8b426c (patch)
tree3f363bf7153f01c94990af3ad4fc518de198dba3 /tdefx
parent03733ab120b5c50be66c7d03fc3926d7815a8cfb (diff)
downloadtdelibs-189c12d0b1d3362f490f26cc0fcd3005af8b426c.tar.gz
tdelibs-189c12d0b1d3362f490f26cc0fcd3005af8b426c.zip
Fix style crashes when used with third party toolkits
Diffstat (limited to 'tdefx')
-rw-r--r--tdefx/kstyle.cpp2
1 files changed, 1 insertions, 1 deletions
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())