Fix duplicated 'eventType == '

This commit is contained in:
Martchus 2020-03-02 15:51:14 +01:00
parent cb0d414018
commit 28dc0bb825
1 changed files with 1 additions and 1 deletions

View File

@ -1741,7 +1741,7 @@ void SyncthingConnection::readDirEvent(DateTime eventTime, const QString &eventT
}());
if (dirId.isEmpty()) {
// handle events which don't necessarily require a corresponding dir info
if (eventType == eventType == QLatin1String("FolderCompletion")) {
if (eventType == QLatin1String("FolderCompletion")) {
readFolderCompletion(eventTime, eventData, dirId, nullptr, -1);
}
return;