From 61721b7f3bfc278708ec7f86a823da8ffe209740 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Fauconnier?= Date: Mon, 23 Aug 2021 09:11:58 +0200 Subject: [PATCH] clear the error message after displaying it as it prevents any attempt to play the media if mError is not empty ! --- src/domain/UBGraphicsMediaItem.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/domain/UBGraphicsMediaItem.cpp b/src/domain/UBGraphicsMediaItem.cpp index 47b025cb..ddc61513 100644 --- a/src/domain/UBGraphicsMediaItem.cpp +++ b/src/domain/UBGraphicsMediaItem.cpp @@ -427,6 +427,7 @@ void UBGraphicsMediaItem::mediaError(QMediaPlayer::Error errorCode) if (!mErrorString.isEmpty() ) { UBApplication::showMessage(mErrorString); qDebug() << mErrorString; + mErrorString.clear(); } }