diff --git a/Telegram/SourceFiles/api/api_updates.cpp b/Telegram/SourceFiles/api/api_updates.cpp index b93898647..f96fa0ec0 100644 --- a/Telegram/SourceFiles/api/api_updates.cpp +++ b/Telegram/SourceFiles/api/api_updates.cpp @@ -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); } diff --git a/Telegram/SourceFiles/platform/linux/launcher_linux.cpp b/Telegram/SourceFiles/platform/linux/launcher_linux.cpp index eb36fc019..b3d097b43 100644 --- a/Telegram/SourceFiles/platform/linux/launcher_linux.cpp +++ b/Telegram/SourceFiles/platform/linux/launcher_linux.cpp @@ -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"); diff --git a/Telegram/SourceFiles/support/support_templates.cpp b/Telegram/SourceFiles/support/support_templates.cpp index 1c0558e17..f62b2f615 100644 --- a/Telegram/SourceFiles/support/support_templates.cpp +++ b/Telegram/SourceFiles/support/support_templates.cpp @@ -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()) {