From 3a965fcd45d585c7e49afcc4b0d2e2d6ef8fe1f5 Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Sat, 15 Dec 2012 09:55:53 +0000 Subject: added playlists auto-save feauture (patch by Ferdinand Vesely) (Closes issue 536), changed playlist api git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@3063 90c681e8-e032-0410-971d-27865f9a5e38 --- src/plugins/General/mpris/mpris1/tracklistobject.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plugins/General/mpris/mpris1/tracklistobject.cpp') diff --git a/src/plugins/General/mpris/mpris1/tracklistobject.cpp b/src/plugins/General/mpris/mpris1/tracklistobject.cpp index 5b31fe725..9576a902a 100644 --- a/src/plugins/General/mpris/mpris1/tracklistobject.cpp +++ b/src/plugins/General/mpris/mpris1/tracklistobject.cpp @@ -71,7 +71,7 @@ void TrackListObject::DelTrack(int in0) int TrackListObject::GetCurrentTrack() { - return m_model->currentRow(); + return m_model->currentIndex(); } int TrackListObject::GetLength() -- cgit v1.2.3-13-gbd6f