--- a/QTfrontend/gameuiconfig.cpp Sat May 24 22:28:40 2008 +0000
+++ b/QTfrontend/gameuiconfig.cpp Sun May 25 14:09:44 2008 +0000
@@ -78,7 +78,7 @@
setValue("audio/sound", isSoundEnabled());
- setValue("net/nick", Form->ui.pageOptions->editNetNick->text());
+ setValue("net/nick", netNick());
setValue("net/ip", *netHost);
setValue("net/port", netPort);
setValue("net/servername", Form->ui.pageNetServer->leServerDescr->text());
@@ -134,3 +134,8 @@
{
return depth;
}
+
+QString GameUIConfig::netNick()
+{
+ return Form->ui.pageOptions->editNetNick->text();
+}