From 6dfefa3f2193effc04b392bcda363e433e61fae2 Mon Sep 17 00:00:00 2001 From: Ilya Fedin Date: Mon, 17 Aug 2020 01:07:33 +0400 Subject: [PATCH] g_message is a more appropriate log level for some messages --- Telegram/SourceFiles/platform/linux/main_window_linux.cpp | 2 +- Telegram/SourceFiles/platform/linux/specific_linux.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Telegram/SourceFiles/platform/linux/main_window_linux.cpp b/Telegram/SourceFiles/platform/linux/main_window_linux.cpp index 57b075249a..dc958a2d6f 100644 --- a/Telegram/SourceFiles/platform/linux/main_window_linux.cpp +++ b/Telegram/SourceFiles/platform/linux/main_window_linux.cpp @@ -745,7 +745,7 @@ void MainWindow::LibsLoaded() { #endif // !DESKTOP_APP_DISABLE_DBUS_INTEGRATION if (!qEnvironmentVariableIsSet(kDisableTrayCounter.utf8())) { - g_warning( + g_message( "You can disable tray icon counter with %s " "and make it look better if it is monochrome.", kDisableTrayCounter.utf8().constData()); diff --git a/Telegram/SourceFiles/platform/linux/specific_linux.cpp b/Telegram/SourceFiles/platform/linux/specific_linux.cpp index bea4f434f4..fbc9f1581b 100644 --- a/Telegram/SourceFiles/platform/linux/specific_linux.cpp +++ b/Telegram/SourceFiles/platform/linux/specific_linux.cpp @@ -1292,13 +1292,13 @@ void start() { "Therefore, QT_QPA_PLATFORMTHEME " "and QT_STYLE_OVERRIDE will be unset."); - g_warning( + g_message( "This can be ignored by setting %s environment variable " "to any value, however, if qgtk2 theme or style is used, " "this will lead to a crash.", kIgnoreGtkIncompatibility.utf8().constData()); - g_warning( + g_message( "GTK integration can be disabled by setting %s to any value. " "Keep in mind that this will lead to clipboard issues " "and tdesktop will be unable to get settings from GTK "