changeset 643:f8be956c819b trustbridge-refactor

Fixed mainwindow layout warning.
author Raimund Renkert <rrenkert@intevation.de>
date Tue, 24 Jun 2014 17:46:45 +0200
parents dd738ef17715
children c57a1da8a1f1
files ui/mainwindow.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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;

http://wald.intevation.org/projects/trustbridge/