mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-05 21:13:55 -07:00
Drop early return.
Took 1 hour 13 minutes Took 2 minutes Took 1 minute Took 24 seconds
This commit is contained in:
parent
3fe2617463
commit
80d141b6a4
1 changed files with 0 additions and 1 deletions
|
|
@ -476,7 +476,6 @@ void CardItem::mouseReleaseEvent(QGraphicsSceneMouseEvent *event)
|
||||||
{
|
{
|
||||||
if (event->button() == Qt::RightButton && owner != nullptr) {
|
if (event->button() == Qt::RightButton && owner != nullptr) {
|
||||||
emit rightClicked(this, event->screenPos());
|
emit rightClicked(this, event->screenPos());
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
if ((event->modifiers() != Qt::AltModifier) && (event->button() == Qt::LeftButton) &&
|
if ((event->modifiers() != Qt::AltModifier) && (event->button() == Qt::LeftButton) &&
|
||||||
(!SettingsCache::instance().getDoubleClickToPlay())) {
|
(!SettingsCache::instance().getDoubleClickToPlay())) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue