Summary: | Export *.m3u playlist ignores if the "relative path checkbox" is unchecked and always saves as relative path | ||
---|---|---|---|
Product: | [Applications] amarok | Reporter: | melethron |
Component: | Playlists/Saved Playlists | Assignee: | Amarok Developers <amarok-bugs-dist> |
Status: | RESOLVED FIXED | ||
Severity: | minor | CC: | bart.cerneels |
Priority: | NOR | ||
Version: | 2.3.1.90 | ||
Target Milestone: | 2.4.0 | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 2.4 |
Description
melethron
2010-09-09 19:00:59 UTC
commit 12add82b47434268a01b36a5afce543cdacaa470 branch master Author: Martin Blumenstingl <darklight.xdarklight@googlemail.com> Date: Thu Oct 28 20:08:23 2010 +0200 Don't ignore the "use relative path" checkbox in the playlist export dialog. BUG: 250689 diff --git a/ChangeLog b/ChangeLog index edc6ea3..f726069 100644 --- a/ChangeLog +++ b/ChangeLog @@ -50,6 +50,8 @@ VERSION 2.4-Beta 1 pressing SHIFT while clicking the action will bypass trash. BUGFIXES: + * Don't ignore the "use relative path" checkbox in the playlist export dialog. + (BR 250689) * Fixed applet explorer getting stuck. (BR 253058) * Fixed Wikipedia applet header layout issues. (BR 215171) * Fixed truncated heading in albums applet. (BR 231001) diff --git a/src/core-impl/playlists/types/file/PlaylistFileSupport.cpp b/src/core-impl/playlists/types/file/PlaylistFileSupport.cpp index 8a1b745..c728b97 100644 --- a/src/core-impl/playlists/types/file/PlaylistFileSupport.cpp +++ b/src/core-impl/playlists/types/file/PlaylistFileSupport.cpp @@ -24,6 +24,7 @@ #include "core-impl/playlists/types/file/pls/PLSPlaylist.h" #include "core-impl/playlists/types/file/m3u/M3UPlaylist.h" #include "statusbar/StatusBar.h" +#include "amarokconfig.h" #include <KLocale> @@ -177,7 +178,7 @@ exportPlaylistFile( const Meta::TrackList &list, const KUrl &path, const QList<i if ( playlist ) { playlist->setQueue( queued ); - result = playlist->save( path.path(), true ); + result = playlist->save( path.path(), AmarokConfig::relativePlaylist() ); } else { |