Fix reading label in readDirRejected()

This commit is contained in:
Martchus 2018-05-02 00:01:19 +02:00
parent bde3734ea4
commit 66e58e3971
1 changed files with 1 additions and 1 deletions

View File

@ -2183,7 +2183,7 @@ void SyncthingConnection::readDirRejected(DateTime eventTime, const QString &dir
}
// emit newDirAvailable() signal
const auto dirLabel(eventData.value(QLatin1String("label")).toString());
const auto dirLabel(eventData.value(QLatin1String("folderLabel")).toString());
const auto devId(eventData.value(QLatin1String("device")).toString());
const auto *const device(findDevInfo(devId, row));
emit newDirAvailable(eventTime, devId, device, dirId, dirLabel);