[atlantik-cvs] CVS: kdegames/atlantik/client atlantik.cpp,1.124,1.125 main.h,1.26,1.27

[email protected]
Newsgroups gmane.comp.kde.devel.atlantik
Message-ID <[email protected]>
Update of /home/kde/kdegames/atlantik/client
In directory office:/tmp/cvs-serv1832/client

Modified Files:
	atlantik.cpp main.h 
Log Message:
framework support for custom tokens

Index: atlantik.cpp
===================================================================
RCS file: /home/kde/kdegames/atlantik/client/atlantik.cpp,v
retrieving revision 1.124
retrieving revision 1.125
diff -u -d -r1.124 -r1.125
--- atlantik.cpp	2002/11/28 21:38:24	1.124
+++ atlantik.cpp	2002/11/29 04:27:30	1.125
@@ -114,7 +114,7 @@
 	m_serverMsgs->setTextFormat(QTextEdit::PlainText);
 	m_serverMsgs->setReadOnly(true);
 	m_serverMsgs->setHScrollBarMode(QScrollView::AlwaysOff);
-	m_serverMsgs->setFixedWidth(225);
+	m_serverMsgs->setMinimumWidth(200);
 	m_mainLayout->addWidget(m_serverMsgs, 1, 0);
 
 	// LineEdit to enter commands and chat messages.
@@ -240,8 +240,14 @@
 	m_selectGame->show();
 
 	// Reset core and GUI
-	m_atlanticCore->reset();
-	m_portfolioViews.clear();
+	if (m_board)
+	{
+		delete m_board;
+		m_board = 0;
+
+		m_portfolioViews.clear();
+		m_atlanticCore->reset();
+	}
 
 	if (m_selectServer)
 	{

Index: main.h
===================================================================
RCS file: /home/kde/kdegames/atlantik/client/main.h,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -d -r1.26 -r1.27
--- main.h	2002/11/28 12:02:58	1.26
+++ main.h	2002/11/29 04:27:31	1.27
@@ -18,7 +18,7 @@
 #define ATLANTIK_MAIN_H
 
 #define	ATLANTIK_VERSION 060
-#define	ATLANTIK_VERSION_STRING "0.6.0 (CVS >= 20021128)"
+#define	ATLANTIK_VERSION_STRING "0.6.0 (CVS >= 20021129)"
 #define ATLANTIK_VERSION_MAJOR 0
 #define ATLANTIK_VERSION_MINOR 6
 #define ATLANTIK_VERSION_RELEASE 0
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.