diff options
Diffstat (limited to 'libk3b/tools/k3bmsfedit.cpp')
-rw-r--r-- | libk3b/tools/k3bmsfedit.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libk3b/tools/k3bmsfedit.cpp b/libk3b/tools/k3bmsfedit.cpp index e3d3a70..07ed77d 100644 --- a/libk3b/tools/k3bmsfedit.cpp +++ b/libk3b/tools/k3bmsfedit.cpp @@ -59,8 +59,8 @@ TQSize K3bMsfEdit::sizeHint() const TQFontMetrics fm( font() ); int w = fm.width( "00:00:00" ); int wx = fm.width( ' ' )*2; - int frame = tqstyle().pixelMetric( TQStyle::PM_SpinBoxFrameWidth ); - return tqstyle().tqsizeFromContents(TQStyle::CT_SpinBox, this, + int frame = style().pixelMetric( TQStyle::PM_SpinBoxFrameWidth ); + return style().tqsizeFromContents(TQStyle::CT_SpinBox, this, TQSize( w + wx + downRect().width() + frame*2, h + frame*2). expandedTo( TQApplication::globalStrut() )); |