Commit c02a3fa2 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt4 - Encode URLs in open dialog as requested. Close defect #1414.

parent 870a7f04
...@@ -40,6 +40,7 @@ ...@@ -40,6 +40,7 @@
#include <QCompleter> #include <QCompleter>
#include <QDirModel> #include <QDirModel>
#include <QScrollArea> #include <QScrollArea>
#include <QUrl>
/************************************************************************** /**************************************************************************
* Open Files and subtitles * * Open Files and subtitles *
...@@ -498,6 +499,9 @@ void NetOpenPanel::updateMRL() { ...@@ -498,6 +499,9 @@ void NetOpenPanel::updateMRL() {
emit methodChanged("udp-caching"); emit methodChanged("udp-caching");
} }
} }
// Encode the boring stuffs
mrl = QUrl( mrl ).toEncoded();
if( ui.timeShift->isEnabled() && ui.timeShift->isChecked() ) { if( ui.timeShift->isEnabled() && ui.timeShift->isChecked() ) {
mrl += " :access-filter=timeshift"; mrl += " :access-filter=timeshift";
} }
......
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