1
0
mirror of https://github.com/strawberrymusicplayer/strawberry synced 2025-01-15 10:08:08 +01:00

Fix hardcoded systemtray icon

This commit is contained in:
Jonas Kvinge 2019-06-29 20:18:54 +02:00
parent 47f4287e64
commit 540b6eba04

View File

@ -46,7 +46,7 @@ QtSystemTrayIcon::QtSystemTrayIcon(QObject *parent)
tray_(new QSystemTrayIcon(this)),
menu_(new QMenu),
app_name_(QCoreApplication::applicationName()),
icon_(":/icons/48x48/strawberry.png"),
icon_(IconLoader::Load("strawberry")),
normal_icon_(icon_.pixmap(48, QIcon::Normal)),
grey_icon_(icon_.pixmap(48, QIcon::Disabled)),
action_play_pause_(nullptr),