mirror of
https://github.com/deskflow/deskflow.git
synced 2026-07-07 21:07:23 +08:00
chore: src/gui/Action use default constructor
This commit is contained in:
parent
2349ce7f52
commit
991293dd0c
@ -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()]) + "(";
|
||||
|
||||
@ -62,7 +62,7 @@ public:
|
||||
};
|
||||
|
||||
public:
|
||||
Action();
|
||||
Action() = default;
|
||||
|
||||
public:
|
||||
QString text() const;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user