summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-libs/qt-gui/files/0265-fix-formlayoutcrash.diff')
-rw-r--r--x11-libs/qt-gui/files/0265-fix-formlayoutcrash.diff21
1 files changed, 0 insertions, 21 deletions
diff --git a/x11-libs/qt-gui/files/0265-fix-formlayoutcrash.diff b/x11-libs/qt-gui/files/0265-fix-formlayoutcrash.diff
deleted file mode 100644
index f5985e4e302a..000000000000
--- a/x11-libs/qt-gui/files/0265-fix-formlayoutcrash.diff
+++ /dev/null
@@ -1,21 +0,0 @@
-qt-bugs@ issue : 177767
-Trolltech task ID : 240759
-applied: no
-author: Alexis Menard <alexis.menard@trolltech.com>
-
-Fix a crash in QFormLayout when a layout is alone in a row
-Included in 4.4.4
-
-Index: src/gui/kernel/qlayoutitem.cpp
-===================================================================
---- src/gui/kernel/qlayoutitem.cpp (revision 910196)
-+++ src/gui/kernel/qlayoutitem.cpp (working copy)
-@@ -383,6 +383,8 @@ QSizePolicy::ControlTypes QLayoutItem::controlTypes() const
- if (const QWidget *widget = const_cast<QLayoutItem*>(this)->widget()) {
- return widget->sizePolicy().controlType();
- } else if (const QLayout *layout = const_cast<QLayoutItem*>(this)->layout()) {
-+ if (layout->count() == 0)
-+ return QSizePolicy::DefaultType;
- QSizePolicy::ControlTypes types;
- for (int i = layout->count() - 1; i >= 0; --i)
- types |= layout->itemAt(i)->controlTypes();