it is also possible to report the game name of the game you've joined
now
This commit is contained in:
@@ -2041,7 +2041,7 @@ void gameLobbyDialogImpl::reportBadGameName()
|
|||||||
{
|
{
|
||||||
assert(mySession);
|
assert(mySession);
|
||||||
QItemSelectionModel *selection = treeView_GameList->selectionModel();
|
QItemSelectionModel *selection = treeView_GameList->selectionModel();
|
||||||
if (!inGame && selection->hasSelection()) {
|
if (selection->hasSelection()) {
|
||||||
unsigned gameId = selection->selectedRows().first().data(Qt::UserRole).toUInt();
|
unsigned gameId = selection->selectedRows().first().data(Qt::UserRole).toUInt();
|
||||||
GameInfo info(mySession->getClientGameInfo(gameId));
|
GameInfo info(mySession->getClientGameInfo(gameId));
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user