Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.1:kernel-2.6.32
libQtWebKit-devel
0265-fix-formlayoutcrash.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0265-fix-formlayoutcrash.diff of Package libQtWebKit-devel
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();
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor