[Turqstat-commits] [SCM] Turquoise SuperStat - http://www.softwolves.pp.se/sw/software/turquoise branch, xturqstat-win32, updated. release-3.0-2-24-g32a20f2
Peter Karlsson
peter at softwolves.pp.se
Mon Jun 2 19:17:55 UTC 2008
The following commit has been merged in the xturqstat-win32 branch:
commit 5870bca2ebcfc872f98dc73343a1fb0d47143ba4
Author: Peter Karlsson <peter at softwolves.pp.se>
Date: Mon Jun 2 20:56:42 2008 +0200
Fixed layout of save report dialogue.
A layout cannot have another layout as its parent, it must be added with
addLayout().
diff --git a/ChangeLog b/ChangeLog
index dc5e926..8132b4b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,7 @@
2008-06-02 - Peter Karlsson <peter at softwolves.pp.se>
qtlist.cpp
qtlist.h
+ qtreport.cpp
Porting to Qt 4.
2008-04-18 - Peter Karlsson <peter at softwolves.pp.se>
diff --git a/qtreport.cpp b/qtreport.cpp
index 4e1b5c2..b162673 100644
--- a/qtreport.cpp
+++ b/qtreport.cpp
@@ -178,7 +178,8 @@ ReportSelectWindow::ReportSelectWindow(QWidget *parent, StatEngine *engine_p)
QLabel *templatelabel = new QLabel(tr("Template file to use"), this);
layout->addWidget(templatelabel);
- QGridLayout *filebrowselayout_p = new QGridLayout(this);
+ QGridLayout *filebrowselayout_p = new QGridLayout(NULL);
+ layout->addLayout(filebrowselayout_p);
m_templatefilename_p = new QLineEdit(this);
m_templatefilename_p->setReadOnly(true);
--
Turquoise SuperStat - http://www.softwolves.pp.se/sw/software/turquoise
More information about the Turqstat-commits
mailing list