aboutsummaryrefslogtreecommitdiff
path: root/mainwindow.cc
diff options
context:
space:
mode:
Diffstat (limited to 'mainwindow.cc')
-rw-r--r--mainwindow.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/mainwindow.cc b/mainwindow.cc
index b66423a..cf1ef1a 100644
--- a/mainwindow.cc
+++ b/mainwindow.cc
@@ -456,7 +456,8 @@ QString MainWindow::formatDuration(qint64 time) const
}
}
+QT_WARNING_DISABLE_DEPRECATED
QString MainWindow::currentPlayerMediaPath() const
{
- return _player->media().request().url().toLocalFile();
+ return _player->media().canonicalUrl().toLocalFile();
}