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

List:       atlantik-devel
Subject:    [atlantik-cvs] CVS: kdegames/atlantik/client
From:       kde () office ! kde ! org
Date:       2004-01-27 2:57:16
Message-ID: 20040127025716.351C7962B () office ! kde ! org
[Download RAW message or body]

Update of /home/kde/kdegames/atlantik/client
In directory office:/tmp/cvs-serv31625/client

Modified Files:
      Tag: KDE_3_2_BRANCH
	selectserver_widget.cpp 
Log Message:
backport: hide development servers identifying themselves with "-dev"

Index: selectserver_widget.cpp
===================================================================
RCS file: /home/kde/kdegames/atlantik/client/selectserver_widget.cpp,v
retrieving revision 1.36
retrieving revision 1.36.4.1
diff -u -d -r1.36 -r1.36.4.1
--- selectserver_widget.cpp	26 Oct 2003 09:57:00 -0000	1.36
+++ selectserver_widget.cpp	27 Jan 2004 02:57:13 -0000	1.36.4.1
@@ -1,4 +1,4 @@
-// Copyright (c) 2002-2003 Rob Kaper <cap@capsi.com>
+// Copyright (c) 2002-2004 Rob Kaper <cap@capsi.com>
 //
 // This program is free software; you can redistribute it and/or
 // modify it under the terms of the GNU General Public License
@@ -16,6 +16,7 @@
 
 #include <qlayout.h>
 #include <qradiobutton.h>
+#include <qregexp.h>
 #include <qsizepolicy.h>
 #include <qvbuttongroup.h>
 #include <qhgroupbox.h>
@@ -121,7 +122,7 @@
 
 void SelectServer::slotMonopigatorAdd(QString host, QString port, QString version, \
int users)  {
-	if (m_hideDevelopmentServers && version.contains("CVS"))
+	if (m_hideDevelopmentServers && version.find( QRegExp("(CVS|-dev)") ) != -1 )
 		return;
 
 	MonopigatorEntry *item = new MonopigatorEntry(m_serverList, host, \
QString::number(9999), version, (users == -1) ? i18n("unknown") : \
QString::number(users), port);

_______________________________________________
atlantik-cvs mailing list
atlantik-cvs@kde.org
https://mail.kde.org/mailman/listinfo/atlantik-cvs


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

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