mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-10 00:04:48 -07:00
lint
This commit is contained in:
parent
49328849f5
commit
22ee2d76f3
1 changed files with 2 additions and 1 deletions
|
|
@ -611,8 +611,9 @@ void ChatView::mousePressEvent(QMouseEvent *event)
|
|||
{
|
||||
switch (hoveredItemType) {
|
||||
case HoveredCard: {
|
||||
if ((event->button() == Qt::MiddleButton) || (event->button() == Qt::LeftButton))
|
||||
if ((event->button() == Qt::MiddleButton) || (event->button() == Qt::LeftButton)) {
|
||||
emit showCardInfoPopup(event->globalPosition().toPoint(), {hoveredContent});
|
||||
}
|
||||
break;
|
||||
}
|
||||
case HoveredUser: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue