Disable some usercontextmenu actions if the user is offline; fix #234

This commit is contained in:
Fabio Bas 2014-07-27 00:26:12 +02:00
parent ea897ee2ef
commit fe12f71b93
4 changed files with 9 additions and 7 deletions

View file

@ -36,7 +36,7 @@ private slots:
public:
UserContextMenu(const TabSupervisor *_tabSupervisor, QWidget *_parent, TabGame *_game = 0);
void retranslateUi();
void showContextMenu(const QPoint &pos, const QString &userName, UserLevelFlags userLevel, int playerId = -1);
void showContextMenu(const QPoint &pos, const QString &userName, UserLevelFlags userLevel, bool online = true, int playerId = -1);
};
#endif