bugfix for #0000024: Ignore player window appears on double right click
This commit is contained in:
@@ -1470,7 +1470,10 @@ void gameLobbyDialogImpl::showNickListContextMenu(QPoint p)
|
|||||||
}
|
}
|
||||||
nickListPlayerInGameInfo->setText(playerInGameInfoString);
|
nickListPlayerInGameInfo->setText(playerInGameInfoString);
|
||||||
|
|
||||||
nickListContextMenu->popup(treeView_NickList->mapToGlobal(p));
|
//popup a little more to the right to avaoid double click action
|
||||||
|
QPoint tempPoint = p;
|
||||||
|
tempPoint.setX(p.x()+5);
|
||||||
|
nickListContextMenu->popup(treeView_NickList->mapToGlobal(tempPoint));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user