diff options
Diffstat (limited to 'src/plugins/General')
| -rw-r--r-- | src/plugins/General/mpris/mpris2/player2object.cpp | 2 |
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 21d51c633..2793b5978 100644 --- a/src/plugins/General/mpris/mpris2/player2object.cpp +++ b/src/plugins/General/mpris/mpris2/player2object.cpp @@ -261,7 +261,7 @@ void Player2Object::Previous() void Player2Object::Seek(qlonglong Offset) { - m_core->seek(qMin((qint64)0, m_core->elapsed() + Offset/1000)); + m_core->seek(qMax(qint64(0), m_core->elapsed() + Offset/1000)); } void Player2Object::SetPosition(const QDBusObjectPath &TrackId, qlonglong Position) { |
