diff --git a/src/lib/deskflow/ClientApp.cpp b/src/lib/deskflow/ClientApp.cpp index 6488858d6..fd25ef6f7 100644 --- a/src/lib/deskflow/ClientApp.cpp +++ b/src/lib/deskflow/ClientApp.cpp @@ -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(); diff --git a/src/lib/deskflow/ClientApp.h b/src/lib/deskflow/ClientApp.h index cb4982ed9..cc10d4d8e 100644 --- a/src/lib/deskflow/ClientApp.h +++ b/src/lib/deskflow/ClientApp.h @@ -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();