mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-27 19:24:08 +00:00
Provide an icon for the error message in the status bar
This commit is contained in:
parent
a94ed4b82e
commit
68335ba349
|
@ -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" ) );
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue