From 37aae73f216a411a49be3e810325d470e0e242d3 Mon Sep 17 00:00:00 2001 From: Gerhard Hoffmann Date: Fri, 15 Dec 2023 09:39:46 +0100 Subject: [PATCH] Fix: Make sure the path for the json-files and the decive-controller is correct. --- worker.cpp | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/worker.cpp b/worker.cpp index f48e457..239b562 100644 --- a/worker.cpp +++ b/worker.cpp @@ -666,7 +666,9 @@ bool Worker::filesToUpdate() { if (dir.exists()) { QStringList jsons = dir.entryList(QStringList() << "DC2C*.json", QDir::Files); if (!jsons.isEmpty()) { - m_filesToUpdate << jsons; + for (QStringList::size_type i=0; i