summaryrefslogtreecommitdiffstats
path: root/kdevdesigner/designer/widgetfactory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kdevdesigner/designer/widgetfactory.cpp')
-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();