2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-01 15:05:56 +00:00

QString::arg usage optimization

This commit is contained in:
Ilya Fedin
2023-12-22 03:50:42 +04:00
committed by John Preston
parent e6b9a07163
commit 29646707a1
7 changed files with 14 additions and 16 deletions

View File

@@ -216,7 +216,7 @@ void Sandbox::setupScreenScale() {
const auto logEnv = [](const char *name) {
const auto value = qEnvironmentVariable(name);
if (!value.isEmpty()) {
LOG(("%1: %2").arg(name).arg(value));
LOG(("%1: %2").arg(name, value));
}
};
logEnv("QT_DEVICE_PIXEL_RATIO");