refactor: make ClientApp::handleClientConnected const

This commit is contained in:
sithlord48 2025-06-19 16:58:29 -04:00 committed by Nick Bolton
parent 551368a2d2
commit dcb047b6c5
2 changed files with 2 additions and 2 deletions

View file

@ -241,7 +241,7 @@ void ClientApp::scheduleClientRestart(double retryTime)
m_events->addHandler(EventTypes::Timer, timer, [this, timer](const auto &e) { handleClientRestart(e, timer); });
}
void ClientApp::handleClientConnected()
void ClientApp::handleClientConnected() const
{
LOG((CLOG_NOTE "connected to server"));
updateStatus();

View file

@ -70,7 +70,7 @@ public:
void closeClientScreen(deskflow::Screen *screen);
void handleClientRestart(const Event &, EventQueueTimer *vtimer);
void scheduleClientRestart(double retryTime);
void handleClientConnected();
void handleClientConnected() const;
void handleClientFailed(const Event &e);
void handleClientRefused(const Event &e);
void handleClientDisconnected();