add deck hash copying functions (#3882)

This commit is contained in:
ebbit1q
2020-01-13 16:11:19 +01:00
committed by Zach H
parent 0ff7472ce5
commit 7bfefee073
5 changed files with 32 additions and 5 deletions

View File

@@ -216,6 +216,7 @@ void PlayerListWidget::showContextMenu(const QPoint &pos, const QModelIndex &ind
const QString &userName = index.sibling(index.row(), 4).data(Qt::UserRole).toString();
int playerId = index.sibling(index.row(), 4).data(Qt::UserRole + 1).toInt();
UserLevelFlags userLevel(index.sibling(index.row(), 3).data(Qt::UserRole).toInt());
QString deckHash = index.sibling(index.row(), 5).data().toString();
userContextMenu->showContextMenu(pos, userName, userLevel, true, playerId);
userContextMenu->showContextMenu(pos, userName, userLevel, true, playerId, deckHash);
}