mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 22:27:20 +02:00
Replace remaining multi-args
This commit is contained in:
parent
508762cd2c
commit
12e306dd7b
3 changed files with 10 additions and 10 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
@ -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");
|
||||
|
|
|
@ -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()) {
|
||||
|
|
Loading…
Add table
Reference in a new issue