mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
Lint against the linter.
Took 3 minutes
This commit is contained in:
parent
60e293dc2d
commit
7927f8a73a
1 changed files with 2 additions and 1 deletions
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue