[PATCH] Fixed mainwindow layout warning

Wald Commits scm-commit at wald.intevation.org
Tue Jun 24 17:46:55 CEST 2014


# HG changeset patch
# User Raimund Renkert <rrenkert at intevation.de>
# Date 1403624805 -7200
# Branch trustbridge-refactor
# Node ID f8be956c819b1b77c000289b027df50371f4f953
# Parent  dd738ef17715ea5126eb47cb904b8542c51acddf
Fixed mainwindow layout warning.

diff -r dd738ef17715 -r f8be956c819b ui/mainwindow.cpp
--- a/ui/mainwindow.cpp	Tue Jun 24 17:42:57 2014 +0200
+++ b/ui/mainwindow.cpp	Tue Jun 24 17:46:45 2014 +0200
@@ -635,7 +635,7 @@
     // Info panel.
     mInfoPanel = new QScrollArea;
 
-    QVBoxLayout *infoPanelLayout = new QVBoxLayout(this);
+    QVBoxLayout *infoPanelLayout = new QVBoxLayout;
     QHBoxLayout *infoHeaderLayout = new QHBoxLayout;
     QVBoxLayout *infoHeaderTextLayout = new QVBoxLayout;
     QVBoxLayout *infoCenterLayout = new QVBoxLayout;


More information about the Trustbridge-commits mailing list