summaryrefslogtreecommitdiffstats
path: root/kdevdesigner
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-07-13 21:45:56 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-07-14 10:21:01 +0900
commit5c50dcac16345515a81f7de5766fa240eaa99d31 (patch)
treef90ca08ef922a837ef270d3654a00a879487ff76 /kdevdesigner
parent14334c54280493270f175de52c28170cf14f50a3 (diff)
downloadtdevelop-5c50dcac16345515a81f7de5766fa240eaa99d31.tar.gz
tdevelop-5c50dcac16345515a81f7de5766fa240eaa99d31.zip
Removed Qt4 specific code and template files
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 60598ea23e9fec7b4320985aad848c5ffee033c2)
Diffstat (limited to 'kdevdesigner')
-rw-r--r--kdevdesigner/designer/widgetfactory.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/kdevdesigner/designer/widgetfactory.cpp b/kdevdesigner/designer/widgetfactory.cpp
index 9fd07ffc..65fa6778 100644
--- a/kdevdesigner/designer/widgetfactory.cpp
+++ b/kdevdesigner/designer/widgetfactory.cpp
@@ -1700,17 +1700,9 @@ void TQLayoutWidget::updateSizePolicy()
vt |= TQSizePolicy::Maximum;
}
}
-#ifdef USE_QT4
if ( layout()->expanding() & TQSizePolicy::Horizontally )
-#else // USE_QT4
- if ( layout()->expanding() & TQSizePolicy::Horizontally )
-#endif // USE_QT4
ht = TQSizePolicy::Expanding;
-#ifdef USE_QT4
- if ( layout()->expanding() & TQSizePolicy::Vertically )
-#else // USE_QT4
if ( layout()->expanding() & TQSizePolicy::Vertically )
-#endif // USE_QT4
vt = TQSizePolicy::Expanding;
layout()->invalidate();