diff options
author | Dmitry Valter | 2022-06-25 17:39:48 +0000 |
---|---|---|
committer | Dmitry Valter | 2022-06-25 17:39:48 +0000 |
commit | b1f2b9a3347895be2d2531717614669afef493c8 (patch) | |
tree | 5b777e72aa3ecf89c3e0e4b7241263e994f626e0 /0001-kde-theme-injection-fix.patch | |
parent | 7e866526c25bfb1b5c351e60a9d3c603388cc135 (diff) | |
download | aur-b1f2b9a3347895be2d2531717614669afef493c8.tar.gz |
updpkg: telegram-desktop-kdefix 4.0.2-1
Diffstat (limited to '0001-kde-theme-injection-fix.patch')
-rw-r--r-- | 0001-kde-theme-injection-fix.patch | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/0001-kde-theme-injection-fix.patch b/0001-kde-theme-injection-fix.patch index cd7efa31e547..2055367827bc 100644 --- a/0001-kde-theme-injection-fix.patch +++ b/0001-kde-theme-injection-fix.patch @@ -1,13 +1,13 @@ -diff --git a/Telegram/SourceFiles/platform/linux/main_window_linux.cpp b/Telegram/SourceFiles/platform/linux/main_window_linux.cpp -index efaf0a792..6c9ffcca3 100644 ---- a/Telegram/SourceFiles/platform/linux/main_window_linux.cpp -+++ b/Telegram/SourceFiles/platform/linux/main_window_linux.cpp -@@ -231,7 +231,7 @@ QIcon TrayIconGen(int counter, bool muted) { - const auto iconName = GetTrayIconName(counter, muted); - const auto panelIconName = GetPanelIconName(counter, muted); +diff --git a/Telegram/SourceFiles/platform/linux/tray_linux.cpp b/Telegram/SourceFiles/platform/linux/tray_linux.cpp +index 80108b11f..415b6f811 100644 +--- a/Telegram/SourceFiles/platform/linux/tray_linux.cpp ++++ b/Telegram/SourceFiles/platform/linux/tray_linux.cpp +@@ -146,7 +146,7 @@ QIcon IconGraphic::trayIcon(int counter, bool muted) { -- if (iconName == panelIconName) { -+ if (0 && iconName == panelIconName) { + const auto iconName = trayIconName(counter, muted); + +- if (iconName == panelIconName(counter, muted)) { ++ if (0 && iconName == panelIconName(counter, muted)) { const auto result = QIcon::fromTheme(iconName); - UpdateIconRegenerationNeeded(result, counter, muted, iconThemeName); + updateIconRegenerationNeeded(result, counter, muted, iconThemeName); return result; |