Provide an icon for the error message in the status bar

This commit is contained in:
Tvangeste 2011-07-15 14:42:40 +02:00
parent a94ed4b82e
commit 68335ba349

View file

@ -1468,7 +1468,8 @@ void MainWindow::updateMatchResults( bool finished )
}
if ( !wordFinder.getErrorString().isEmpty() )
mainStatusBar->showMessage( tr( "WARNING: %1" ).arg( wordFinder.getErrorString() ), 20000 );
mainStatusBar->showMessage( tr( "WARNING: %1" ).arg( wordFinder.getErrorString() ),
20000 , QPixmap( ":/icons/error.png" ) );
}
}