diff options
Diffstat (limited to 'src/styles/qcommonstyle.cpp')
-rw-r--r-- | src/styles/qcommonstyle.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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<TQDockWindow*>(widget) + || ::tqt_cast<TQDockWindow*>(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<TQDockWindow*>(widget) ) { + } else if ( ::tqt_cast<TQDockWindow*>(widget) ) { ret = TQMAX( widget->fontMetrics().lineSpacing(), 13 ); #endif } else { |