Remove identical branches
GCC warns about this so let's just remove this leftover.
This commit is contained in:
parent
c3233a8954
commit
bd924330ad
|
@ -2016,10 +2016,8 @@ void SyncthingConnection::readDeviceEvent(SyncthingEventId eventId, DateTime eve
|
||||||
status = SyncthingDevStatus::Rejected;
|
status = SyncthingDevStatus::Rejected;
|
||||||
} else if (eventType == QLatin1String("DeviceResumed")) {
|
} else if (eventType == QLatin1String("DeviceResumed")) {
|
||||||
paused = false;
|
paused = false;
|
||||||
} else if (eventType == QLatin1String("DeviceDiscovered")) {
|
|
||||||
return; // we know about this device already, nothing to do
|
|
||||||
} else {
|
} else {
|
||||||
return; // can't handle other event types currently
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// assign new status
|
// assign new status
|
||||||
|
|
Loading…
Reference in New Issue