Remove uses of SyncthingStatus::OutOfSync which is never actually set

This commit is contained in:
Martchus 2020-12-31 02:33:20 +01:00
parent f7c3ceaece
commit 392eb70b12
2 changed files with 0 additions and 3 deletions

View File

@ -169,8 +169,6 @@ QString SyncthingConnection::statusText(SyncthingStatus status)
return tr("connected, paused");
case SyncthingStatus::Synchronizing:
return tr("connected, synchronizing");
case SyncthingStatus::OutOfSync:
return tr("connected, out of sync");
default:
return tr("unknown");
}

View File

@ -21,7 +21,6 @@ SyncthingStatusSelectionModel::SyncthingStatusSelectionModel(QObject *parent)
itemFor(SyncthingStatus::Scanning),
itemFor(SyncthingStatus::Paused),
itemFor(SyncthingStatus::Synchronizing),
itemFor(SyncthingStatus::OutOfSync),
});
}