Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:lafenghu
kde3-kaffeine
kaffeine-quote-subs.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File kaffeine-quote-subs.patch of Package kde3-kaffeine
--- kaffeine/src/input/audiobrowser/playlist.cpp +++ kaffeine/src/input/audiobrowser/playlist.cpp @@ -1895,7 +1895,12 @@ { QString subList; for(unsigned int i=0; i<tmp->subtitles().count(); i++) - subList += tmp->subtitles()[i] + "&"; + { + QString sub = tmp->subtitles()[i]; + sub.replace('%', "%25"); + sub.replace('&', "%26"); + subList += sub + "&"; + } entry.setAttribute("subs", subList); } --- kaffeine/src/player-parts/kaffeine-part/playlistimport.cpp +++ kaffeine/src/player-parts/kaffeine-part/playlistimport.cpp @@ -69,7 +69,11 @@ int currentSub = -1; if ((!att.value("subs").isNull()) && (!att.value("subs").isEmpty())) + { subs = QStringList::split("&",att.value("subs"),false); + subs.gres("%26", "&"); + subs.gres("%25", "%"); + } if ((!att.value("subs").isNull()) && (!att.value("subs").isEmpty())) { bool ok;
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor