From: Matthieu Gallien Date: Thu, 17 Nov 2022 13:48:51 +0000 (+0100) Subject: tidy code by fixing one clazy reported warning X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~12^2~11^2~131^2~2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=2742c6a5a1e6649985b5481bef5eec9f6218e484;p=nextcloud-desktop.git tidy code by fixing one clazy reported warning use QString::arg with multiple parameters because that is faster Signed-off-by: Matthieu Gallien --- diff --git a/src/libsync/propagatorjobs.cpp b/src/libsync/propagatorjobs.cpp index 1013b8027..fe1b62ee8 100644 --- a/src/libsync/propagatorjobs.cpp +++ b/src/libsync/propagatorjobs.cpp @@ -244,8 +244,7 @@ void PropagateLocalRename::start() // it would have to come out the localFileNameClash function done(SyncFileItem::NormalError, tr("File %1 cannot be renamed to %2 because of a local file name clash") - .arg(QDir::toNativeSeparators(_item->_file)) - .arg(QDir::toNativeSeparators(_item->_renameTarget))); + .arg(QDir::toNativeSeparators(_item->_file), QDir::toNativeSeparators(_item->_renameTarget))); return; }