From 4805e9a0c4c79f6c3832cd893acfd3af5149452a Mon Sep 17 00:00:00 2001 From: alex-z Date: Wed, 4 Oct 2023 14:56:21 +0200 Subject: [PATCH] Fix review comments. Signed-off-by: alex-z --- src/libsync/discovery.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/libsync/discovery.cpp b/src/libsync/discovery.cpp index 8e069279d92be..87088efde6a48 100644 --- a/src/libsync/discovery.cpp +++ b/src/libsync/discovery.cpp @@ -1615,12 +1615,13 @@ void ProcessDirectoryJob::processFileFinalize( } { + const auto discoveredItemLog = QStringLiteral("%1 %2 %3 %4").arg(item->_file).arg(item->_instruction).arg(item->_direction).arg(item->_type); const auto isImportantInstruction = item->_instruction != CSYNC_INSTRUCTION_NONE && item->_instruction != CSYNC_INSTRUCTION_IGNORE && item->_instruction != CSYNC_INSTRUCTION_UPDATE_METADATA; if (isImportantInstruction) { - qCInfo(lcDisco) << "Discovered" << item->_file << item->_instruction << item->_direction << item->_type; + qCInfo(lcDisco) << discoveredItemLog; } else { - qCDebug(lcDisco) << "Discovered" << item->_file << item->_instruction << item->_direction << item->_type; + qCDebug(lcDisco) << discoveredItemLog; } }