[atlantik-cvs] CVS: kdegames/atlantik/client monopigator.cpp, 1.18, 1.19 selectserver_widget.cpp, 1.37, 1.38
[email protected] (Dirk Mueller <
[email protected]>)
Wed, 21 Jan 2004 07:58:43 +0100 (CET)
| Newsgroups |
gmane.comp.kde.devel.atlantik |
| Message-ID |
<[email protected]> |
Update of /home/kde/kdegames/atlantik/client
In directory office:/tmp/cvs-serv22073/atlantik/client
Modified Files:
monopigator.cpp selectserver_widget.cpp
Log Message:
fix KURL handling errors
Index: monopigator.cpp
===================================================================
RCS file: /home/kde/kdegames/atlantik/client/monopigator.cpp,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -d -r1.18 -r1.19
--- monopigator.cpp 23 Nov 2003 18:42:25 -0000 1.18
+++ monopigator.cpp 21 Jan 2004 06:58:41 -0000 1.19
@@ -45,7 +45,7 @@
m_downloadData->open(IO_WriteOnly);
m_downloadData->reset();
- m_job = KIO::get(url.url(), true, false);
+ m_job = KIO::get(url, true, false);
m_job->addMetaData(QString::fromLatin1("UserAgent"), QString::fromLatin1("Atlantik/" ATLANTIK_VERSION_STRING));
if (!m_timer)
Index: selectserver_widget.cpp
===================================================================
RCS file: /home/kde/kdegames/atlantik/client/selectserver_widget.cpp,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -d -r1.37 -r1.38
--- selectserver_widget.cpp 20 Jan 2004 06:51:29 -0000 1.37
+++ selectserver_widget.cpp 21 Jan 2004 06:58:41 -0000 1.38
@@ -114,7 +114,7 @@
emit msgStatus(i18n("Retrieving server list..."));
m_refreshButton->setGuiItem(KGuiItem(i18n("Reload Server List"), "reload"));
- m_monopigator->loadData("http://gator.monopd.net/");
+ m_monopigator->loadData(KURL( "http://gator.monopd.net/"));
}
void SelectServer::slotMonopigatorAdd(QString host, QString port, QString version, int users)