From 53e42b95d7eb8e2ffd215b45109776761f40f1cf Mon Sep 17 00:00:00 2001 From: Angel Ortega Date: Tue, 8 Sep 2009 17:12:57 +0200 Subject: [PATCH] Suppressed error in window initialisation. --- mpv_qt4.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mpv_qt4.cpp b/mpv_qt4.cpp index 7eae2c0..6c5d81a 100644 --- a/mpv_qt4.cpp +++ b/mpv_qt4.cpp @@ -108,7 +108,7 @@ MPWindow::MPWindow(QWidget *parent) : QMainWindow(parent) this->statusBar()->addWidget(statusbar); /* the full container */ - QVBoxLayout *vb = new QVBoxLayout(this); + QVBoxLayout *vb = new QVBoxLayout(); file_tabs = new QTabBar(); file_tabs->setFocusPolicy(Qt::NoFocus); -- 2.11.4.GIT