equal
deleted
inserted
replaced
824 switch(n) |
824 switch(n) |
825 { |
825 { |
826 case 0: |
826 case 0: |
827 { |
827 { |
828 bool ok = false; |
828 bool ok = false; |
829 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); |
829 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); |
830 |
830 |
831 if (!ok || newNick.isEmpty()) { |
831 if (!ok || newNick.isEmpty()) { |
832 Disconnect(); |
832 Disconnect(); |
833 emit Disconnected(); |
833 emit Disconnected(); |
834 return; |
834 return; |