From c02a3fa285fafdd453dc2add243aa65ae935b920 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Kempf Date: Sat, 12 Jan 2008 08:03:00 +0000 Subject: [PATCH] Qt4 - Encode URLs in open dialog as requested. Close defect #1414. --- modules/gui/qt4/components/open_panels.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/gui/qt4/components/open_panels.cpp b/modules/gui/qt4/components/open_panels.cpp index b9b8c883b7..7075fe79d8 100644 --- a/modules/gui/qt4/components/open_panels.cpp +++ b/modules/gui/qt4/components/open_panels.cpp @@ -40,6 +40,7 @@ #include #include #include +#include /************************************************************************** * Open Files and subtitles * @@ -498,6 +499,9 @@ void NetOpenPanel::updateMRL() { emit methodChanged("udp-caching"); } } + + // Encode the boring stuffs + mrl = QUrl( mrl ).toEncoded(); if( ui.timeShift->isEnabled() && ui.timeShift->isChecked() ) { mrl += " :access-filter=timeshift"; } -- 2.39.2