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 +// Copyright (c) 2002-2004 Rob Kaper // // 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 #include +#include #include #include #include @@ -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