From 16c10d7569aa69be9a657eb5633af511363064f0 Mon Sep 17 00:00:00 2001 From: Yuhang Zhao <2546789017@qq.com> Date: Wed, 8 Feb 2023 13:44:15 +0800 Subject: [PATCH] linux: fix typo in code memo Signed-off-by: Yuhang Zhao <2546789017@qq.com> --- src/core/utils_linux.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/utils_linux.cpp b/src/core/utils_linux.cpp index 7e24806..7082d46 100644 --- a/src/core/utils_linux.cpp +++ b/src/core/utils_linux.cpp @@ -481,7 +481,7 @@ QString Utils::getWallpaperFilePath() } const gchararray rawPath = gconf_client_get_string(client, "/desktop/gnome/background/picture_filename", nullptr); if (!rawPath || (*rawPath == '\0')) { - WARNING "Failed to retrieve the wallpaper file path."; + WARNING << "Failed to retrieve the wallpaper file path."; return {}; } return QUtf8String(rawPath); @@ -502,7 +502,7 @@ WallpaperAspectStyle Utils::getWallpaperAspectStyle() } const gchararray rawOptions = gconf_client_get_string(client, "/desktop/gnome/background/picture_options", nullptr); if (!rawOptions || (*rawOptions == '\0')) { - WARNING "Failed to retrieve the wallpaper tile options."; + WARNING << "Failed to retrieve the wallpaper tile options."; return defaultAspectStyle; } const QString options = QUtf8String(rawOptions);