From eb1d1e0dec5720ace27395e290b7093cd68b150d Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Tue, 6 Mar 2012 20:38:40 -0600 Subject: Automated update from qt3 --- src/styles/qcommonstyle.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/styles/qcommonstyle.cpp') diff --git a/src/styles/qcommonstyle.cpp b/src/styles/qcommonstyle.cpp index fa95124e4..3510574ca 100644 --- a/src/styles/qcommonstyle.cpp +++ b/src/styles/qcommonstyle.cpp @@ -1674,7 +1674,7 @@ void TQCommonStyle::drawComplexControl( ComplexControl control, down = active & SC_TitleBarCloseButton; if ( widget->testWFlags( WStyle_Tool ) #ifndef QT_NO_MAINWINDOW - || ::qt_cast(widget) + || ::tqt_cast(widget) #endif ) pm = stylePixmap(SP_DockWindowCloseButton, widget); @@ -2254,7 +2254,7 @@ int TQCommonStyle::pixelMetric(PixelMetric m, const TQWidget *widget) const if ( widget->testWFlags( WStyle_Tool ) ) { ret = TQMAX( widget->fontMetrics().lineSpacing(), 16 ); #ifndef QT_NO_MAINWINDOW - } else if ( ::qt_cast(widget) ) { + } else if ( ::tqt_cast(widget) ) { ret = TQMAX( widget->fontMetrics().lineSpacing(), 13 ); #endif } else { -- cgit v1.2.1