Use app.applicationName() instead of hardcoded "GoldenDict" in previous commit

This commit is contained in:
Abs62 2013-05-08 21:35:11 +04:00
parent 534509adaf
commit 37ebe005de

View file

@ -130,7 +130,7 @@ int main( int argc, char ** argv )
}
catch( Config::exError )
{
QMessageBox mb( QMessageBox::Warning, "GoldenDict", "Error in configuration file. Continue with default settings?",
QMessageBox mb( QMessageBox::Warning, app.applicationName(), "Error in configuration file. Continue with default settings?",
QMessageBox::Yes | QMessageBox::No );
mb.exec();
if( mb.result() != QMessageBox::Yes )