1
0
Fork 0

GUI: fixed icon for language message box

This commit is contained in:
mrexodia 2016-09-07 11:11:12 +02:00
parent a7169bb22e
commit 05d87ce377
No known key found for this signature in database
GPG Key ID: FC89E0AAA0C1AAD8
1 changed files with 2 additions and 2 deletions

View File

@ -1586,7 +1586,7 @@ void MainWindow::chooseLanguage()
if(file.size() < 512)
{
QMessageBox msg(this);
msg.setWindowIcon(QIcon("codepage.png"));
msg.setWindowIcon(DIcon("codepage.png"));
msg.setIcon(QMessageBox::Information);
if(tr("Languages") == QString("Languages"))
{
@ -1607,7 +1607,7 @@ void MainWindow::chooseLanguage()
BridgeSettingSet("Engine", "Language", localeName.toUtf8().constData());
QMessageBox msg(this);
msg.setIcon(QMessageBox::Information);
msg.setWindowIcon(QIcon("codepage.png"));
msg.setWindowIcon(DIcon("codepage.png"));
if(tr("Languages") == QString("Languages"))
{
msg.setWindowTitle(QString("Languages"));