From kde-commits Mon Feb 29 23:12:22 2016 From: Jaroslaw Staniek Date: Mon, 29 Feb 2016 23:12:22 +0000 To: kde-commits Subject: [kexi] src/kexiutils: GIT_SILENT Debug GUI: remove warning "layout already exists" (silent) Message-Id: X-MARC-Message: https://marc.info/?l=kde-commits&m=145678901830212 Git commit f9e0f4f1342972da9f410b2aea35c521ceb5e47a by Jaroslaw Staniek. Committed on 29/02/2016 at 23:07. Pushed by staniek into branch 'master'. GIT_SILENT Debug GUI: remove warning "layout already exists" (from calligra.git) M +1 -1 src/kexiutils/debuggui.cpp http://commits.kde.org/kexi/f9e0f4f1342972da9f410b2aea35c521ceb5e47a diff --git a/src/kexiutils/debuggui.cpp b/src/kexiutils/debuggui.cpp index 4e0e672..ed7cf6f 100644 --- a/src/kexiutils/debuggui.cpp +++ b/src/kexiutils/debuggui.cpp @@ -50,7 +50,7 @@ static void addKexiDBDebug(const QString& text) if (!kexiDBDebugPage) { QWidget *page =3D new QWidget(debugWindowTab); QVBoxLayout *vbox =3D new QVBoxLayout(page); - QHBoxLayout *hbox =3D new QHBoxLayout(page); + QHBoxLayout *hbox =3D new QHBoxLayout; vbox->addLayout(hbox); hbox->addStretch(1); QPushButton *btn_copy =3D new QPushButton(page);