chore: src/gui/Action use default constructor

This commit is contained in:
sithlord48 2024-11-27 12:33:15 -05:00 committed by Chris Rizzitello
parent 2349ce7f52
commit 991293dd0c
2 changed files with 1 additions and 5 deletions

View File

@ -29,10 +29,6 @@ const char *Action::m_ActionTypeNames[] = {
const char *Action::m_SwitchDirectionNames[] = {"left", "right", "up", "down"};
const char *Action::m_LockCursorModeNames[] = {"toggle", "on", "off"};
Action::Action()
{
}
QString Action::text() const
{
QString text = QString(m_ActionTypeNames[keySequence().isMouseButton() ? type() + 6 : type()]) + "(";

View File

@ -62,7 +62,7 @@ public:
};
public:
Action();
Action() = default;
public:
QString text() const;