[atlantik-cvs] CVS: kdegames/atlantik/libatlantikui estatedetails.cpp, 1.24, 1.25

[email protected] Wed, 12 Nov 2003 19:08:58 +0100 (CET)
Newsgroups gmane.comp.kde.devel.atlantik
Message-ID <[email protected]>
Update of /home/kde/kdegames/atlantik/libatlantikui
In directory office:/tmp/cvs-serv9223/libatlantikui

Modified Files:
	estatedetails.cpp 
Log Message:
fix potential crash, discussed with valgrind

Index: estatedetails.cpp
===================================================================
RCS file: /home/kde/kdegames/atlantik/libatlantikui/estatedetails.cpp,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -d -r1.24 -r1.25
--- estatedetails.cpp	13 Jul 2003 22:28:28 -0000	1.24
+++ estatedetails.cpp	12 Nov 2003 18:08:54 -0000	1.25
@@ -1,4 +1,4 @@
-// Copyright (c) 2002 Rob Kaper <[email protected]>
+// Copyright (c) 2002-2003 Rob Kaper <[email protected]>
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -64,7 +64,6 @@
 
 	m_buttonBox = new QHBoxLayout(m_mainLayout, KDialog::spacingHint());
 	m_buttonBox->setMargin(0);
-	m_mainLayout->addItem(m_buttonBox);
 
 	m_buttonBox->addItem(new QSpacerItem(20, 20, QSizePolicy::Expanding, QSizePolicy::Minimum));