Fix crash when no system tray is available
This commit is contained in:
@@ -195,9 +195,9 @@ void SystemTrayIcon::ClearNowPlaying() {
|
||||
}
|
||||
|
||||
void SystemTrayIcon::LoveVisibilityChanged(const bool value) {
|
||||
action_love_->setVisible(value);
|
||||
if (action_love_) action_love_->setVisible(value);
|
||||
}
|
||||
|
||||
void SystemTrayIcon::LoveStateChanged(const bool value) {
|
||||
action_love_->setEnabled(value);
|
||||
if (action_love_) action_love_->setEnabled(value);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user