--- a/QTfrontend/newnetclient.cpp Sun Sep 18 16:46:26 2011 +0200
+++ b/QTfrontend/newnetclient.cpp Sun Sep 18 21:06:09 2011 +0200
@@ -826,7 +826,7 @@
case 0:
{
bool ok = false;
- QString newNick = QInputDialog::getText(0, tr("Nickname"), tr("Some one already uses\n your nickname %1\non the server.\nPlease pick another nickname:").arg(mynick), QLineEdit::Normal, mynick, &ok);
+ QString newNick = QInputDialog::getText(m_pGameCFGWidget, tr("Nickname"), tr("Some one already uses\n your nickname %1\non the server.\nPlease pick another nickname:").arg(mynick), QLineEdit::Normal, mynick, &ok);
if (!ok || newNick.isEmpty()) {
Disconnect();