diff --git a/src/osd/osdbase.cpp b/src/osd/osdbase.cpp index fb429e2e7..0ddb815c0 100644 --- a/src/osd/osdbase.cpp +++ b/src/osd/osdbase.cpp @@ -360,6 +360,10 @@ void OSDBase::RepeatModeChanged(PlaylistSequence::RepeatMode mode) { QString OSDBase::ReplaceMessage(const MessageType type, const QString &message, const Song &song) { +#ifndef HAVE_DBUS + Q_UNUSED(type) +#endif + bool html_escaped = false; QString newline = "";