chore: src/gui/Action use default constructor
This commit is contained in:
parent
2349ce7f52
commit
991293dd0c
2 changed files with 1 additions and 5 deletions
|
|
@ -29,10 +29,6 @@ const char *Action::m_ActionTypeNames[] = {
|
||||||
const char *Action::m_SwitchDirectionNames[] = {"left", "right", "up", "down"};
|
const char *Action::m_SwitchDirectionNames[] = {"left", "right", "up", "down"};
|
||||||
const char *Action::m_LockCursorModeNames[] = {"toggle", "on", "off"};
|
const char *Action::m_LockCursorModeNames[] = {"toggle", "on", "off"};
|
||||||
|
|
||||||
Action::Action()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
QString Action::text() const
|
QString Action::text() const
|
||||||
{
|
{
|
||||||
QString text = QString(m_ActionTypeNames[keySequence().isMouseButton() ? type() + 6 : type()]) + "(";
|
QString text = QString(m_ActionTypeNames[keySequence().isMouseButton() ? type() + 6 : type()]) + "(";
|
||||||
|
|
|
||||||
|
|
@ -62,7 +62,7 @@ public:
|
||||||
};
|
};
|
||||||
|
|
||||||
public:
|
public:
|
||||||
Action();
|
Action() = default;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
QString text() const;
|
QString text() const;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue