Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.2:Update
amarok
spaces_in_filenames.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File spaces_in_filenames.diff of Package amarok
From b608836eaacb79196a47a73bfbfa22123e42c101 Mon Sep 17 00:00:00 2001 From: Nikolaj Hald Nielsen <nhnFreespirit@gmail.com> Date: Sun, 2 Aug 2009 19:57:20 +0200 Subject: [PATCH] Fix cases of incorrect local file name handling (such as tracks with spaces in path or name not playing) in the EngineController Thanks to Ignacio Serantes <kde@aynoa.net> BUG: 189898 --- src/EngineController.cpp | 9 ++++++++- 1 files changed, 8 insertions(+), 1 deletions(-) diff --git a/src/EngineController.cpp b/src/EngineController.cpp index 5356e58..8033fb7 100644 --- src/EngineController.cpp 2009/08/18 05:31:45 1.1 +++ src/EngineController.cpp 2009/08/18 05:32:27 @@ -318,7 +318,14 @@ slotStopFadeout(); debug() << "URL: " << url.url(); - m_media->setCurrentSource( url ); + if ( url.toLocalFile().isEmpty() ) + { + m_media->setCurrentSource( url ); + } + else + { + m_media->setCurrentSource( url.toLocalFile() ); + } m_nextTrack.clear(); m_nextUrl.clear();
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