bugfix for #0000024: Ignore player window appears on double right click
This commit is contained in:
1 parent
df186db369
commit
7087c38b89
1 file changed
+4
-1
@@ -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