summaryrefslogtreecommitdiffstats
path: root/kommander
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-31 09:46:39 +0900
commit5905e4ed02f751bbd26b48a984acd72dd5866b90 (patch)
tree93c6276492cda69fc120614be1f5419bf9896811 /kommander
parent5b51c9fc784f692e2df23253181a618f94d0db73 (diff)
downloadtdewebdev-5905e4ed02f751bbd26b48a984acd72dd5866b90.tar.gz
tdewebdev-5905e4ed02f751bbd26b48a984acd72dd5866b90.zip
Drop USE_TQT4 code
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 7f1d383a122efafa3c751b47057a5fdf3d5d34e1)
Diffstat (limited to 'kommander')
-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();
}