From 7f396efdf54d8e375d6c8edd633624bb35826bca Mon Sep 17 00:00:00 2001 From: Flavio Date: Fri, 5 Aug 2011 21:14:10 +0200 Subject: [PATCH] Hide "Fatal Error" messages --- src/MainWindow.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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())); } -- 2.39.5