From: Flavio Date: Fri, 5 Aug 2011 19:14:10 +0000 (+0200) Subject: Hide "Fatal Error" messages X-Git-Tag: 1.5 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=7f396efdf54d8e375d6c8edd633624bb35826bca;p=minitube Hide "Fatal Error" messages --- diff --git a/src/MainWindow.cpp b/src/MainWindow.cpp index 7021d3a..6da09fd 100644 --- a/src/MainWindow.cpp +++ b/src/MainWindow.cpp @@ -661,7 +661,9 @@ void MainWindow::stateChanged(Phonon::State newState, Phonon::State /* oldState case Phonon::ErrorState: if (mediaObject->errorType() == Phonon::FatalError) { - statusBar()->showMessage(tr("Fatal error: %1").arg(mediaObject->errorString())); + // Do not display because we try to play incomplete video files and sometimes trigger this + // We retry automatically (in MediaView) so no need to show it + // statusBar()->showMessage(tr("Fatal error: %1").arg(mediaObject->errorString())); } else { statusBar()->showMessage(tr("Error: %1").arg(mediaObject->errorString())); }