aboutsummaryrefslogtreecommitdiff
path: root/mainwindow.cc
diff options
context:
space:
mode:
authorJavier <dev.git@javispedro.com>2021-09-19 22:45:18 +0200
committerJavier <dev.git@javispedro.com>2021-09-19 22:45:18 +0200
commit3c3dd84c51c75f2bced5bcf96ad83920bfffe86b (patch)
treecec15d3149d80766e40b51f33d40ef15afb0e667 /mainwindow.cc
parent118283b748359c3268f47e382762c90cd5c412ac (diff)
downloadscribiu-3c3dd84c51c75f2bced5bcf96ad83920bfffe86b.tar.gz
scribiu-3c3dd84c51c75f2bced5bcf96ad83920bfffe86b.zip
workaround for qt 5.11
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();
}