another fix for a popup window that had no style 0.9.16
authorsheepluva
Sun, 18 Sep 2011 21:06:09 +0200
branch0.9.16
changeset 5959 2e5182c5617a
parent 5958 f9e3033d929f
child 5960 74bc72746bec
another fix for a popup window that had no style
QTfrontend/newnetclient.cpp
--- 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();