2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-10-05 13:16:13 +00:00

Unified function to detect icon name on Linux

This commit is contained in:
Ilya Fedin
2020-02-26 15:38:31 +04:00
committed by John Preston
parent 3b300f23e1
commit 7bd0598555
5 changed files with 17 additions and 13 deletions

View File

@@ -200,7 +200,7 @@ NotificationData::NotificationData(
bool NotificationData::show() {
const auto iconName = _imageKey.isEmpty() || !_hints.contains(_imageKey)
? qsl("telegram")
? GetIconName()
: QString();
const QDBusReply<uint> notifyReply = _notificationInterface->call(