bugfix for #0000024: Ignore player window appears on double right click

This commit is contained in:
doitux
2010-12-13 16:19:37 +00:00
parent df186db369
commit 7087c38b89
@@ -1470,7 +1470,10 @@ void gameLobbyDialogImpl::showNickListContextMenu(QPoint p)
}
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));
}
}