[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [kexi] src/kexiutils: GIT_SILENT Debug GUI: remove warning "layout already exists" (silent)
From:       Jaroslaw Staniek <staniek () kde ! org>
Date:       2016-02-29 23:12:22
Message-ID: E1aaWzG-0000sv-6Z () scm ! kde ! org
[Download RAW message or body]

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 = new QWidget(debugWindowTab);
         QVBoxLayout *vbox = new QVBoxLayout(page);
-        QHBoxLayout *hbox = new QHBoxLayout(page);
+        QHBoxLayout *hbox = new QHBoxLayout;
         vbox->addLayout(hbox);
         hbox->addStretch(1);
         QPushButton *btn_copy = new QPushButton(page);

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic