put player-in-game-info to own submenu in player contextmenu
This commit is contained in:
@@ -90,8 +90,9 @@ gameLobbyDialogImpl::gameLobbyDialogImpl(startWindowImpl *parent, ConfigFile *c)
|
||||
nickListContextMenu->addAction(nickListInviteAction);
|
||||
nickListIgnorePlayerAction = new QAction(QIcon(":/gfx/im-ban-user.png"), tr("Ignore player"), nickListContextMenu);
|
||||
nickListContextMenu->addAction(nickListIgnorePlayerAction);
|
||||
nickListPlayerInfoSubMenu = nickListContextMenu->addMenu(QIcon(":/gfx/dialog-information.png"), tr("Player infos ..."));
|
||||
nickListPlayerInGameInfo = new QAction(nickListContextMenu);
|
||||
nickListContextMenu->addAction(nickListPlayerInGameInfo);
|
||||
nickListPlayerInfoSubMenu->addAction(nickListPlayerInGameInfo);
|
||||
|
||||
connect( pushButton_CreateGame, SIGNAL( clicked() ), this, SLOT( createGame() ) );
|
||||
connect( pushButton_JoinGame, SIGNAL( clicked() ), this, SLOT( joinGame() ) );
|
||||
|
||||
@@ -142,6 +142,7 @@ private:
|
||||
QMenu *nickListContextMenu;
|
||||
QAction *nickListInviteAction;
|
||||
QAction *nickListIgnorePlayerAction;
|
||||
QMenu *nickListPlayerInfoSubMenu;
|
||||
QAction *nickListPlayerInGameInfo;
|
||||
int infoMsgToShowId;
|
||||
int currentInvitationGameId;
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 803 B |
@@ -51,6 +51,7 @@
|
||||
<file>document-open-folder.png</file>
|
||||
<file>emblem-important.png</file>
|
||||
<file>emblem-important-64.png</file>
|
||||
<file>dialog-information.png</file>
|
||||
</qresource>
|
||||
<qresource prefix="/cflags">
|
||||
<file>cflags/ad.png</file>
|
||||
|
||||
Reference in New Issue
Block a user