mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-01-25 02:44:51 -08:00
Lint against the linter.
Took 3 minutes
This commit is contained in:
@@ -244,7 +244,8 @@ bool TutorialOverlay::eventFilter(QObject *obj, QEvent *event)
|
||||
|
||||
if (obj == targetWidget) {
|
||||
if (event->type() == QEvent::Show) {
|
||||
QMetaObject::invokeMethod(this, [this]() { recomputeLayout(); }, Qt::QueuedConnection);
|
||||
QMetaObject::invokeMethod(
|
||||
this, [this]() { recomputeLayout(); }, Qt::QueuedConnection);
|
||||
} else if (event->type() == QEvent::Hide || event->type() == QEvent::Move || event->type() == QEvent::Resize) {
|
||||
recomputeLayout();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user