Skip to content

Commit

Permalink
Fix qt warning about widget already has a layout
Browse files Browse the repository at this point in the history
(cherry-picked from bbebcb4)
  • Loading branch information
nyalldawson committed Mar 22, 2018
1 parent ef21636 commit 4041622
Showing 1 changed file with 2 additions and 19 deletions.
21 changes: 2 additions & 19 deletions src/ui/qgsmapcanvasdockwidgetbase.ui
Expand Up @@ -47,25 +47,7 @@
</widget>
</item>
<item>
<widget class="QWidget" name="mMainWidget" native="true">
<layout class="QHBoxLayout" name="horizontalLayout">
<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="QWidget" name="mMainWidget" native="true"/>
</item>
</layout>
</widget>
Expand Down Expand Up @@ -188,6 +170,7 @@
<include location="../../images/images.qrc"/>
<include location="../../images/images.qrc"/>
<include location="../../images/images.qrc"/>
<include location="../../images/images.qrc"/>
</resources>
<connections/>
</ui>

0 comments on commit 4041622

Please sign in to comment.