Fix build with libvlc

Fixes regression introduced by f8a8a5bb2d.
This commit is contained in:
Matthieu Bouron
2018-10-01 16:27:32 +02:00
committed by Matthieu Bouron
parent 2a80f73609
commit 5bf93d025e
2 changed files with 4 additions and 0 deletions

View File

@@ -186,6 +186,7 @@ void HttpStream::streamUrl(const QString &url)
emit update();
}
#ifndef LIBVLC_FOUND
void HttpStream::bufferingProgress(int progress)
{
MPDStatus * const status = MPDStatus::self();
@@ -197,6 +198,7 @@ void HttpStream::bufferingProgress(int progress)
}
}
}
#endif
void HttpStream::updateStatus()
{

View File

@@ -62,7 +62,9 @@ private Q_SLOTS:
void updateStatus();
void streamUrl(const QString &url);
void checkPlayer();
#ifndef LIBVLC_FOUND
void bufferingProgress(int progress);
#endif
private:
void startTimer();