aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/General/mpris/mpris2/player2object.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/General/mpris/mpris2/player2object.cpp')
-rw-r--r--src/plugins/General/mpris/mpris2/player2object.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/General/mpris/mpris2/player2object.cpp b/src/plugins/General/mpris/mpris2/player2object.cpp
index 78c77997b..d3dc81171 100644
--- a/src/plugins/General/mpris/mpris2/player2object.cpp
+++ b/src/plugins/General/mpris/mpris2/player2object.cpp
@@ -64,7 +64,7 @@ bool Player2Object::canGoNext() const
bool Player2Object::canGoPrevious() const
{
- return m_pl_manager->currentPlayList()->currentRow() > 0;
+ return m_pl_manager->currentPlayList()->currentIndex() > 0;
}
bool Player2Object::canPause() const