The exclamation mark icon.
This commit is contained in:
BIN
src/qt/icons/warning.ico
Normal file
BIN
src/qt/icons/warning.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 9.4 KiB |
@@ -61,7 +61,7 @@ SettingsMachine::SettingsMachine(QWidget *parent)
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
auto warning_icon = ui->softFloatWarningIcon->style()->standardIcon(QStyle::SP_MessageBoxWarning);
|
auto warning_icon = QIcon(":/misc/qt/icons/warning.ico");
|
||||||
ui->softFloatWarningIcon->setPixmap(warning_icon.pixmap(warning_icon.actualSize(QSize(16, 16))));
|
ui->softFloatWarningIcon->setPixmap(warning_icon.pixmap(warning_icon.actualSize(QSize(16, 16))));
|
||||||
ui->softFloatWarningIcon->setVisible(false);
|
ui->softFloatWarningIcon->setVisible(false);
|
||||||
ui->softFloatWarningText->setVisible(false);
|
ui->softFloatWarningText->setVisible(false);
|
||||||
|
@@ -63,6 +63,9 @@
|
|||||||
<file>qt/icons/send_cae.ico</file>
|
<file>qt/icons/send_cae.ico</file>
|
||||||
<file>qt/icons/settings.ico</file>
|
<file>qt/icons/settings.ico</file>
|
||||||
</qresource>
|
</qresource>
|
||||||
|
<qresource prefix="/misc">
|
||||||
|
<file>qt/icons/warning.ico</file>
|
||||||
|
</qresource>
|
||||||
<qresource prefix="/">
|
<qresource prefix="/">
|
||||||
<file alias="/texture_vert.spv">qt/texture_vert.spv</file>
|
<file alias="/texture_vert.spv">qt/texture_vert.spv</file>
|
||||||
<file alias="/texture_frag.spv">qt/texture_frag.spv</file>
|
<file alias="/texture_frag.spv">qt/texture_frag.spv</file>
|
||||||
|
Reference in New Issue
Block a user