Skip to content

Commit

Permalink
clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
ddennedy committed Feb 27, 2025
1 parent 7943bfd commit 566005c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
3 changes: 1 addition & 2 deletions src/mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -963,8 +963,7 @@ void MainWindow::connectVideoWidgetSignals()
&FilterController::currentFilterChanged,
videoWidget,
&Mlt::VideoWidget::setCurrentFilter);
connect(m_player, &Player::toggleVuiRequested, videoWidget,
&Mlt::VideoWidget::toggleVuiDisplay);
connect(m_player, &Player::toggleVuiRequested, videoWidget, &Mlt::VideoWidget::toggleVuiDisplay);
}

void MainWindow::onFocusWindowChanged(QWindow *) const
Expand Down
4 changes: 1 addition & 3 deletions src/player.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -805,9 +805,7 @@ void Player::setupActions()

action = new QAction(tr("Toggle Filter Overlay"), this);
action->setShortcut(QKeySequence(Qt::CTRL | Qt::SHIFT | Qt::Key_Q));
connect(action, &QAction::triggered, this, [&]() {
emit toggleVuiRequested();
});
connect(action, &QAction::triggered, this, [&]() { emit toggleVuiRequested(); });
Actions.add("playerToggleVui", action, tr("Player"));
}

Expand Down

0 comments on commit 566005c

Please sign in to comment.