mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-12 00:54:53 -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) {
|
switch (hoveredItemType) {
|
||||||
case HoveredCard: {
|
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});
|
emit showCardInfoPopup(event->globalPosition().toPoint(), {hoveredContent});
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case HoveredUser: {
|
case HoveredUser: {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue