MCPcopy Create free account
hub / github.com/deskflow/deskflow / coreConnectionStateChanged

Method coreConnectionStateChanged

src/lib/gui/MainWindow.cpp:1009–1023  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1007}
1008
1009void MainWindow::coreConnectionStateChanged(CoreConnectionState state)
1010{
1011 qDebug() << "core connection state changed: " << static_cast<int>(state);
1012
1013 updateStatus();
1014
1015 // always assume connection is not secure when connection changes
1016 // to anything except connected. the only way the padlock shows is
1017 // when the correct TLS version string is detected.
1018 if (state != CoreConnectionState::Connected) {
1019 secureSocket(false);
1020 } else if (isVisible()) {
1021 showFirstConnectedMessage();
1022 }
1023}
1024
1025void MainWindow::updateLocalFingerprint()
1026{

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected