mirror of
https://github.com/dashpay/dash.git
synced 2024-12-28 05:23:01 +01:00
UI: theme-dependent icons/images Step 5 (About message)
This commit is contained in:
parent
b5efb1e065
commit
8df2edca24
@ -77,6 +77,10 @@ HelpMessageDialog::HelpMessageDialog(QWidget *parent, bool about) :
|
|||||||
text = version + "\n" + header + "\n" + coreOptions + "\n" + uiOptions;
|
text = version + "\n" + header + "\n" + coreOptions + "\n" + uiOptions;
|
||||||
ui->helpMessageLabel->setText(text);
|
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()
|
HelpMessageDialog::~HelpMessageDialog()
|
||||||
|
Loading…
Reference in New Issue
Block a user