chore: remove unused InputFilter::RestartServer::m_events

This commit is contained in:
sithlord48 2025-09-24 18:02:01 -04:00 committed by Nick Bolton
parent 3945dc927c
commit 4157367aaa
3 changed files with 3 additions and 4 deletions

View file

@ -1110,7 +1110,7 @@ void Config::parseAction(
}
}
action = new InputFilter::RestartServer(m_events, mode);
action = new InputFilter::RestartServer(mode);
}
else if (name == "keyboardBroadcast") {

View file

@ -237,7 +237,7 @@ void InputFilter::LockCursorToScreenAction::perform(const Event &event)
);
}
InputFilter::RestartServer::RestartServer(IEventQueue *events, Mode mode) : m_mode(mode), m_events(events)
InputFilter::RestartServer::RestartServer(Mode mode) : m_mode(mode)
{
// do nothing
}

View file

@ -161,7 +161,7 @@ public:
restart
};
explicit RestartServer(IEventQueue *events, Mode = restart);
explicit RestartServer(Mode = restart);
Mode getMode() const;
@ -172,7 +172,6 @@ public:
private:
Mode m_mode;
IEventQueue *m_events;
};
// SwitchToScreenAction