Replace remaining multi-args

This commit is contained in:
Ilya Fedin 2021-03-13 23:05:58 +04:00 committed by John Preston
parent 508762cd2c
commit 12e306dd7b
3 changed files with 10 additions and 10 deletions

View File

@ -557,10 +557,10 @@ void Updates::feedDifference(
}
void Updates::differenceFail(const MTP::Error &error) {
LOG(("RPC Error in getDifference: %1 %2: %3"
).arg(error.code()
).arg(error.type()
).arg(error.description()));
LOG(("RPC Error in getDifference: %1 %2: %3").arg(
QString::number(error.code()),
error.type(),
error.description()));
failDifferenceStartTimerFor(nullptr);
}

View File

@ -61,9 +61,9 @@ void Launcher::initHook() {
appimagePath.size(),
md5Hash);
return qsl("appimagekit_%1-%2.desktop")
.arg(md5Hash)
.arg(AppName.utf16().replace(' ', '_'));
return qsl("appimagekit_%1-%2.desktop").arg(
md5Hash,
AppName.utf16().replace(' ', '_'));
}
return qsl(MACRO_TO_STRING(TDESKTOP_LAUNCHER_BASENAME) ".desktop");

View File

@ -387,9 +387,9 @@ QString FormatUpdateNotification(const QString &path, const Delta &delta) {
if (!delta.changed.empty()) {
result += qstr("-------- Modified --------\n\n");
for (const auto question : delta.changed) {
result += qsl("Q: %1\nA: %2\n\n"
).arg(question->question
).arg(question->value.trimmed());
result += qsl("Q: %1\nA: %2\n\n").arg(
question->question,
question->value.trimmed());
}
}
if (!delta.removed.empty()) {