From bcfc121c379671b890934ae8ef57981d7a859266 Mon Sep 17 00:00:00 2001 From: sithlord48 Date: Sun, 27 Apr 2025 12:49:45 -0400 Subject: [PATCH] chore: Action, use auto where possible --- src/lib/gui/Action.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/gui/Action.cpp b/src/lib/gui/Action.cpp index 0e306e742..e5567f4d6 100644 --- a/src/lib/gui/Action.cpp +++ b/src/lib/gui/Action.cpp @@ -12,7 +12,7 @@ QString Action::text() const { - QString text = QString(m_actionTypeNames.at(keySequence().isMouseButton() ? type() + 6 : type())); + auto text = QString(m_actionTypeNames.at(keySequence().isMouseButton() ? type() + 6 : type())); switch (type()) { case keyDown: