summaryrefslogtreecommitdiffstats
path: root/kommander/editor/widgetfactory.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-08-25 17:44:26 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-08-25 17:44:26 +0900
commit7f1d383a122efafa3c751b47057a5fdf3d5d34e1 (patch)
treeb79889576bf06b8e5e66400f47fbbaba36b1cb73 /kommander/editor/widgetfactory.cpp
parent8ac0be0f7fbc73ec137ed768ccc6a2e0f41ee2b9 (diff)
downloadtdewebdev-7f1d383a122efafa3c751b47057a5fdf3d5d34e1.tar.gz
tdewebdev-7f1d383a122efafa3c751b47057a5fdf3d5d34e1.zip
Drop USE_TQT4 code
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kommander/editor/widgetfactory.cpp')
-rw-r--r--kommander/editor/widgetfactory.cpp7
1 files changed, 0 insertions, 7 deletions
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();
}