GUI: fixed icon for language message box
This commit is contained in:
parent
a7169bb22e
commit
05d87ce377
|
@ -1586,7 +1586,7 @@ void MainWindow::chooseLanguage()
|
||||||
if(file.size() < 512)
|
if(file.size() < 512)
|
||||||
{
|
{
|
||||||
QMessageBox msg(this);
|
QMessageBox msg(this);
|
||||||
msg.setWindowIcon(QIcon("codepage.png"));
|
msg.setWindowIcon(DIcon("codepage.png"));
|
||||||
msg.setIcon(QMessageBox::Information);
|
msg.setIcon(QMessageBox::Information);
|
||||||
if(tr("Languages") == QString("Languages"))
|
if(tr("Languages") == QString("Languages"))
|
||||||
{
|
{
|
||||||
|
@ -1607,7 +1607,7 @@ void MainWindow::chooseLanguage()
|
||||||
BridgeSettingSet("Engine", "Language", localeName.toUtf8().constData());
|
BridgeSettingSet("Engine", "Language", localeName.toUtf8().constData());
|
||||||
QMessageBox msg(this);
|
QMessageBox msg(this);
|
||||||
msg.setIcon(QMessageBox::Information);
|
msg.setIcon(QMessageBox::Information);
|
||||||
msg.setWindowIcon(QIcon("codepage.png"));
|
msg.setWindowIcon(DIcon("codepage.png"));
|
||||||
if(tr("Languages") == QString("Languages"))
|
if(tr("Languages") == QString("Languages"))
|
||||||
{
|
{
|
||||||
msg.setWindowTitle(QString("Languages"));
|
msg.setWindowTitle(QString("Languages"));
|
||||||
|
|
Loading…
Reference in New Issue