# HG changeset patch # User Goffi # Date 1314397880 -7200 # Node ID 98485ebbdb867879295b41c4169d8c579711f5a3 # Parent 877a005c2b424a9d0a9844990790b14769dbf431 LayoutView: WidgetViewBox fix diff -r 877a005c2b42 -r 98485ebbdb86 layout_view.cpp --- a/layout_view.cpp Fri Aug 26 15:58:46 2011 +0200 +++ b/layout_view.cpp Sat Aug 27 00:31:20 2011 +0200 @@ -37,10 +37,11 @@ : WidgetView(name) { setWidget(new LayoutView(0, HORIZONTAL)); + setWidgetResizable(true); } LayoutView::LayoutView(QWidget* parent, LayoutDirection direction) - : m_direction(direction) + : QWidget(parent), m_direction(direction) { setAcceptDrops(true); if (m_direction == VERTICAL) @@ -86,7 +87,6 @@ int ref_pos = m_direction == VERTICAL ? event->pos().y() : event->pos().x(); int hint_start = 0; int pos_start, pos_end; - QList _children = findChildren(""); QWidget* wid = 0;