From 66e58e397175e5ce33d4ab507ac75ccfa1f917c8 Mon Sep 17 00:00:00 2001 From: Martchus Date: Wed, 2 May 2018 00:01:19 +0200 Subject: [PATCH] Fix reading label in readDirRejected() --- connector/syncthingconnection.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/connector/syncthingconnection.cpp b/connector/syncthingconnection.cpp index 2b54bbc..d06ff1c 100644 --- a/connector/syncthingconnection.cpp +++ b/connector/syncthingconnection.cpp @@ -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);