Commit 5521114b authored by Leander Schulten's avatar Leander Schulten

RemoteVolume: Fix reconnection.

parent 24dc8b2f
Pipeline #206576 passed with stage
in 4 minutes and 37 seconds
......@@ -30,7 +30,7 @@ RemoteVolume::RemoteVolume(Settings &settings) : settings(settings) {
// if we lost the connection, but don't want that, wait some time and reconnect then
if (this->settings.remoteVolumeControl()) {
if (reconnectTimerId == -1) {
startTimer(WAIT_FOR_RECONNECT_MS);
reconnectTimerId = startTimer(WAIT_FOR_RECONNECT_MS);
}
}
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment