[PATCH] Don't try to set a layout on PlannerSettingsWidget
Anton Lundin
glance at acc.umu.se
Mon Jul 7 13:05:28 PDT 2014
It already got one from its ui-file, and this causes a warning when
starting the application.
Signed-off-by: Anton Lundin <glance at acc.umu.se>
---
qt-ui/mainwindow.ui | 20 +-------------------
1 file changed, 1 insertion(+), 19 deletions(-)
diff --git a/qt-ui/mainwindow.ui b/qt-ui/mainwindow.ui
index 206b227..2360dd8 100644
--- a/qt-ui/mainwindow.ui
+++ b/qt-ui/mainwindow.ui
@@ -526,25 +526,7 @@
<bool>true</bool>
</property>
</widget>
- <widget class="PlannerSettingsWidget" name="plannerSettingsWidget">
- <layout class="QVBoxLayout" name="horizontalLayout_p4">
- <property name="spacing">
- <number>0</number>
- </property>
- <property name="leftMargin">
- <number>0</number>
- </property>
- <property name="topMargin">
- <number>0</number>
- </property>
- <property name="rightMargin">
- <number>0</number>
- </property>
- <property name="bottomMargin">
- <number>0</number>
- </property>
- </layout>
- </widget>
+ <widget class="PlannerSettingsWidget" name="plannerSettingsWidget"/>
</widget>
<widget class="QStackedWidget" name="globePane">
<property name="currentIndex">
--
1.9.1
More information about the subsurface
mailing list