clear the error message after displaying it as it prevents any attempt to play the media if mError is not empty !

preferencesAboutTextFull
Clément Fauconnier 3 years ago
parent fe06bdf1df
commit 61721b7f3b
  1. 1
      src/domain/UBGraphicsMediaItem.cpp

@ -427,6 +427,7 @@ void UBGraphicsMediaItem::mediaError(QMediaPlayer::Error errorCode)
if (!mErrorString.isEmpty() ) { if (!mErrorString.isEmpty() ) {
UBApplication::showMessage(mErrorString); UBApplication::showMessage(mErrorString);
qDebug() << mErrorString; qDebug() << mErrorString;
mErrorString.clear();
} }
} }

Loading…
Cancel
Save