From 4416dab6c1a555ffe77469a50fe6206d1598053f Mon Sep 17 00:00:00 2001
From: Anton Skorochod <anton@nsl.cz>
Date: Tue, 4 Dec 2018 21:03:39 +0100
Subject: [PATCH] Allow UnityCounters for KDE5 resolves #4554

---
 .../SourceFiles/platform/linux/linux_desktop_environment.cpp    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Telegram/SourceFiles/platform/linux/linux_desktop_environment.cpp b/Telegram/SourceFiles/platform/linux/linux_desktop_environment.cpp
index 483eaf1c4..eb633ce5f 100644
--- a/Telegram/SourceFiles/platform/linux/linux_desktop_environment.cpp
+++ b/Telegram/SourceFiles/platform/linux/linux_desktop_environment.cpp
@@ -121,7 +121,7 @@ bool PreferAppIndicatorTrayIcon() {
 }
 
 bool TryUnityCounter() {
-	return IsUnity() || IsPantheon() || IsUbuntu();
+	return IsUnity() || IsPantheon() || IsUbuntu() || IsKDE5();
 }
 
 } // namespace DesktopEnvironment