Commit 2f88f871 authored by Matthieu Gallien's avatar Matthieu Gallien

Revert "Migrate from deprecated media content URL API" missing keyword

This reverts commit 0adb96e0.
parent 0adb96e0
......@@ -75,11 +75,7 @@ qreal AudioWrapper::volume() const
QUrl AudioWrapper::source() const
{
#if (QT_VERSION >= QT_VERSION_CHECK(5, 14, 0))
return d->mPlayer.media().request().url();
#else
return d->mPlayer.media().canonicalUrl();
#endif
}
QMediaPlayer::Error AudioWrapper::error() const
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment