diff options
author | Raphael Kubo da Costa <rakuco@FreeBSD.org> | 2014-07-29 06:58:24 +0000 |
---|---|---|
committer | Raphael Kubo da Costa <rakuco@FreeBSD.org> | 2014-07-29 06:58:24 +0000 |
commit | d22de183cce834d66935432916cfe7f47ee440d3 (patch) | |
tree | 97cf72024f7dbfa31452753720f9a5e1d3fed07f /audio/amarok-kde4 | |
parent | 892906dd1d163c8cba108f0cec3566c82451ff9d (diff) | |
download | ports-d22de183cce834d66935432916cfe7f47ee440d3.tar.gz ports-d22de183cce834d66935432916cfe7f47ee440d3.zip |
Notes
Diffstat (limited to 'audio/amarok-kde4')
-rw-r--r-- | audio/amarok-kde4/files/patch-src__core-impl__playlists__types__file__xspf__XSPFPlaylist.cpp | 19 | ||||
-rw-r--r-- | audio/amarok-kde4/files/patch-src__playlist__proxymodels__SortScheme.cpp | 18 |
2 files changed, 37 insertions, 0 deletions
diff --git a/audio/amarok-kde4/files/patch-src__core-impl__playlists__types__file__xspf__XSPFPlaylist.cpp b/audio/amarok-kde4/files/patch-src__core-impl__playlists__types__file__xspf__XSPFPlaylist.cpp new file mode 100644 index 000000000000..b3164aab531b --- /dev/null +++ b/audio/amarok-kde4/files/patch-src__core-impl__playlists__types__file__xspf__XSPFPlaylist.cpp @@ -0,0 +1,19 @@ +--- src/core-impl/playlists/types/file/xspf/XSPFPlaylist.cpp.orig 2014-07-27 18:29:25.000000000 +0200 ++++ src/core-impl/playlists/types/file/xspf/XSPFPlaylist.cpp 2014-07-27 18:29:43.000000000 +0200 +@@ -27,6 +27,7 @@ + #include "playlist/PlaylistController.h" + #include "playlist/PlaylistModelStack.h" + ++using Playlist::ModelStack; + using namespace Playlists; + + XSPFPlaylist::XSPFPlaylist( const KUrl &url, Playlists::PlaylistProvider *provider, OnLoadAction onLoad ) +@@ -101,7 +102,7 @@ + //FIXME: this needs to be moved to whatever is creating the XSPFPlaylist + if( m_autoAppendAfterLoad ) + The::playlistController()->insertPlaylist( +- ::Playlist::ModelStack::instance()->bottom()->rowCount(), ++ ModelStack::instance()->bottom()->rowCount(), + Playlists::PlaylistPtr( this ) + ); + } diff --git a/audio/amarok-kde4/files/patch-src__playlist__proxymodels__SortScheme.cpp b/audio/amarok-kde4/files/patch-src__playlist__proxymodels__SortScheme.cpp new file mode 100644 index 000000000000..282afce2f120 --- /dev/null +++ b/audio/amarok-kde4/files/patch-src__playlist__proxymodels__SortScheme.cpp @@ -0,0 +1,18 @@ +--- src/playlist/proxymodels/SortScheme.cpp.orig 2014-07-27 18:27:06.000000000 +0200 ++++ src/playlist/proxymodels/SortScheme.cpp 2014-07-27 18:27:44.000000000 +0200 +@@ -123,13 +123,13 @@ + SortScheme::const_iterator + SortScheme::begin() const + { +- return QStack::begin(); ++ return QStack<SortLevel>::begin(); + } + + SortScheme::const_iterator + SortScheme::end() const + { +- return QStack::end(); ++ return QStack<SortLevel>::end(); + } + + } //namespace Playlist |