From 96bf755af2740b91a759069cfb3f60f7fba24452 Mon Sep 17 00:00:00 2001 From: Martchus Date: Tue, 9 Apr 2024 11:35:45 +0200 Subject: [PATCH] Apply clang-format --- syncthingconnector/syncthingconnection_requests.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/syncthingconnector/syncthingconnection_requests.cpp b/syncthingconnector/syncthingconnection_requests.cpp index 3ee0b59..5097c73 100644 --- a/syncthingconnector/syncthingconnection_requests.cpp +++ b/syncthingconnector/syncthingconnection_requests.cpp @@ -1621,13 +1621,14 @@ static void readSyncthingItems(const QJsonArray &array, std::vector(jsonItemObj.value(QLatin1String("size")) + item.size = static_cast(jsonItemObj + .value(QLatin1String("size")) #if (QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)) - .toInteger() + .toInteger() #else - .toDouble() + .toDouble() #endif - ); + ); item.index = index; item.level = level; if (type == QLatin1String("FILE_INFO_TYPE_FILE")) {