From 76192ffc96b326f57cf932ed68600a3017a76fab Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sat, 6 Aug 2011 13:21:04 -0500 Subject: Fix another Qt3/TQt4 FTBFS related to the QSplitter commit --- src/widgets/qsplitter.h | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'src/widgets/qsplitter.h') diff --git a/src/widgets/qsplitter.h b/src/widgets/qsplitter.h index b5012f6..fea0af3 100644 --- a/src/widgets/qsplitter.h +++ b/src/widgets/qsplitter.h @@ -83,17 +83,6 @@ public: QCOORD getSizer( Orientation orient ); }; -QCOORD QSplitterLayoutStruct::getSizer( Orientation orient ) -{ - if ( sizer == -1 ) { - QSize s = wid->sizeHint(); - if ( !s.isValid() || wid->testWState(WState_Resized) ) - s = wid->size(); - sizer = ( orient == Horizontal ) ? s.width() : s.height(); - } - return sizer; -} - class Q_EXPORT QSplitter : public QFrame { Q_OBJECT -- cgit v1.2.1