refactor: make ClientApp::handleClientConnected const
This commit is contained in:
parent
551368a2d2
commit
dcb047b6c5
2 changed files with 2 additions and 2 deletions
|
|
@ -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();
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in a new issue