Remove unnecessary warning in QMediaPlaylistNavigator.
Task-number: QTBUG-33862 Change-Id: Ie74e649ebb5819ccf6300492bdce2a0046b87f02 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
This commit is contained in:
committed by
The Qt Project
parent
1598f79b17
commit
7c9ff56f2f
@@ -433,10 +433,8 @@ void QMediaPlaylistNavigator::jump(int position)
|
||||
{
|
||||
Q_D(QMediaPlaylistNavigator);
|
||||
|
||||
if (position<-1 || position>=d->playlist->mediaCount()) {
|
||||
qWarning() << "QMediaPlaylistNavigator: Jump outside playlist range";
|
||||
if (position < -1 || position >= d->playlist->mediaCount())
|
||||
position = -1;
|
||||
}
|
||||
|
||||
if (position != -1)
|
||||
d->lastValidPos = position;
|
||||
|
||||
Reference in New Issue
Block a user