Fix compile warnings
This commit is contained in:
@@ -239,6 +239,8 @@ void QtSystemTrayIcon::SetVisible(bool visible) {
|
||||
void QtSystemTrayIcon::SetNowPlaying(const Song &song, const QUrl &cover_url) {
|
||||
|
||||
#ifdef Q_OS_WIN
|
||||
Q_UNUSED(song);
|
||||
Q_UNUSED(cover_url);
|
||||
// Windows doesn't support HTML in tooltips, so just show something basic
|
||||
tray_->setToolTip(song.PrettyTitleWithArtist());
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user