From 7f1d383a122efafa3c751b47057a5fdf3d5d34e1 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Fri, 25 Aug 2023 17:44:26 +0900 Subject: Drop USE_TQT4 code Signed-off-by: Michele Calgaro --- kommander/editor/widgetfactory.cpp | 7 ------- 1 file changed, 7 deletions(-) (limited to 'kommander') diff --git a/kommander/editor/widgetfactory.cpp b/kommander/editor/widgetfactory.cpp index 2e870a7f..fe38face 100644 --- a/kommander/editor/widgetfactory.cpp +++ b/kommander/editor/widgetfactory.cpp @@ -1904,17 +1904,10 @@ void TQLayoutWidget::updateSizePolicy() vt |= TQSizePolicy::Maximum; } } -#ifdef USE_QT4 if ( layout()->expanding() & TQSizePolicy::Horizontally ) ht = TQSizePolicy::Expanding; if ( layout()->expanding() & TQSizePolicy::Vertically ) vt = TQSizePolicy::Expanding; -#else // USE_QT4 - if ( layout()->expanding() & TQSizePolicy::Horizontally ) - ht = TQSizePolicy::Expanding; - if ( layout()->expanding() & TQSizePolicy::Vertically ) - vt = TQSizePolicy::Expanding; -#endif // USE_QT4 layout()->invalidate(); } -- cgit v1.2.1