[vlc-commits] [Git][videolan/vlc][master] 2 commits: qt: mlfoldersmodel: Ensure MRL are fully encoded
Hugo Beauzée-Luyssen
gitlab at videolan.org
Fri May 7 16:43:43 UTC 2021
Hugo Beauzée-Luyssen pushed to branch master at VideoLAN / VLC
Commits:
e4339355 by Hugo Beauzée-Luyssen at 2021-05-07T14:31:12+00:00
qt: mlfoldersmodel: Ensure MRL are fully encoded
Refs #25555
- - - - -
8e087e24 by Hugo Beauzée-Luyssen at 2021-05-07T14:31:12+00:00
contrib: Bump medialibrary version
Fix #25555
- - - - -
2 changed files:
- contrib/src/medialibrary/rules.mak
- modules/gui/qt/medialibrary/mlfoldersmodel.cpp
Changes:
=====================================
contrib/src/medialibrary/rules.mak
=====================================
@@ -1,4 +1,4 @@
-MEDIALIBRARY_HASH := d3711efef557e240687bfd3bcbc7be16604fd48c
+MEDIALIBRARY_HASH := f541a77c9a3b107970e5650d8db2de0294aea8c3
MEDIALIBRARY_VERSION := git-$(MEDIALIBRARY_HASH)
MEDIALIBRARY_GITURL := https://code.videolan.org/videolan/medialibrary.git
=====================================
modules/gui/qt/medialibrary/mlfoldersmodel.cpp
=====================================
@@ -139,7 +139,7 @@ void MLFoldersModel::removeAt( int index )
void MLFoldersModel::add(const QUrl &mrl )
{
- vlc_ml_add_folder( ml() , qtu( mrl.toString( QUrl::None ) ) );
+ vlc_ml_add_folder( ml() , qtu( mrl.toString( QUrl::FullyEncoded ) ) );
}
void MLBannedFoldersModel::removeAt(int index)
@@ -154,7 +154,7 @@ void MLBannedFoldersModel::removeAt(int index)
void MLBannedFoldersModel::add(const QUrl &mrl)
{
- vlc_ml_ban_folder( ml() , qtu( mrl.toString( QUrl::None ) ) );
+ vlc_ml_ban_folder( ml() , qtu( mrl.toString( QUrl::FullyEncoded ) ) );
}
std::vector<MLFoldersBaseModel::EntryPoint> MLBannedFoldersModel::entryPoints() const
View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/7bcc8a1782bd12f6c0b78cd20572b6db9e767bab...8e087e241b6538cf2959b33334d4ec5d585e3dc0
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/7bcc8a1782bd12f6c0b78cd20572b6db9e767bab...8e087e241b6538cf2959b33334d4ec5d585e3dc0
You're receiving this email because of your account on code.videolan.org.
More information about the vlc-commits
mailing list