UI: theme-dependent icons/images Step 5 (About message)

This commit is contained in:
crowning- 2015-09-16 20:20:41 +02:00
parent b5efb1e065
commit 8df2edca24

View File

@ -77,6 +77,10 @@ HelpMessageDialog::HelpMessageDialog(QWidget *parent, bool about) :
text = version + "\n" + header + "\n" + coreOptions + "\n" + uiOptions;
ui->helpMessageLabel->setText(text);
}
// Theme dependent Gfx in About popup
QString helpMessageGfx = ":/images/" + GUIUtil::getThemeName() + "/about";
QPixmap pixmap = QPixmap(helpMessageGfx);
ui->graphic->setPixmap(pixmap);
}
HelpMessageDialog::~HelpMessageDialog()