Fix compile warnings

This commit is contained in:
Jonas Kvinge
2019-09-19 17:44:14 +02:00
parent 2f3f4f609c
commit defc0ada78
5 changed files with 11 additions and 3 deletions

View File

@@ -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