Commit 75a5e2d6 authored by Matthieu Gallien's avatar Matthieu Gallien 🎵
Browse files

use clang-tidy to add auto as data type for variable declarations

parent 86b998d6
Pipeline #40071 canceled with stage
......@@ -524,7 +524,7 @@ bool ElisaApplication::eventFilter(QObject *object, QEvent *event)
{
Q_UNUSED(object)
QKeyEvent *keyEvent = static_cast<QKeyEvent*>(event);
auto *keyEvent = static_cast<QKeyEvent*>(event);
auto playPauseAction = d->mCollection.action(tr("Play-Pause"));
if (keyEvent->key() == Qt::Key_Space && playPauseAction->shortcut()[0] == Qt::Key_Space) {
return true;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment