mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-03-12 06:39:14 +01:00
Fix QMessageBox icons using the default rather than the Dolphin logo
This commit is contained in:
parent
58b0a284a8
commit
165ac1c29e
@ -314,7 +314,7 @@ void GeneralPane::OnSaveConfig()
|
|||||||
void GeneralPane::GenerateNewIdentity()
|
void GeneralPane::GenerateNewIdentity()
|
||||||
{
|
{
|
||||||
DolphinAnalytics::Instance()->GenerateNewIdentity();
|
DolphinAnalytics::Instance()->GenerateNewIdentity();
|
||||||
QMessageBox message_box;
|
QMessageBox message_box(this);
|
||||||
message_box.setIcon(QMessageBox::Information);
|
message_box.setIcon(QMessageBox::Information);
|
||||||
message_box.setWindowTitle(tr("Identity Generation"));
|
message_box.setWindowTitle(tr("Identity Generation"));
|
||||||
message_box.setText(tr("New identity generated."));
|
message_box.setText(tr("New identity generated."));
|
||||||
|
@ -124,7 +124,7 @@ void USBDeviceAddToWhitelistDialog::AddUSBDeviceToWhitelist()
|
|||||||
if (!IsValidUSBIDString(vid_string))
|
if (!IsValidUSBIDString(vid_string))
|
||||||
{
|
{
|
||||||
// i18n: Here, VID means Vendor ID (for a USB device).
|
// i18n: Here, VID means Vendor ID (for a USB device).
|
||||||
QMessageBox vid_warning_box;
|
QMessageBox vid_warning_box(this);
|
||||||
vid_warning_box.setIcon(QMessageBox::Warning);
|
vid_warning_box.setIcon(QMessageBox::Warning);
|
||||||
vid_warning_box.setWindowTitle(tr("USB Whitelist Error"));
|
vid_warning_box.setWindowTitle(tr("USB Whitelist Error"));
|
||||||
// i18n: Here, VID means Vendor ID (for a USB device).
|
// i18n: Here, VID means Vendor ID (for a USB device).
|
||||||
@ -136,7 +136,7 @@ void USBDeviceAddToWhitelistDialog::AddUSBDeviceToWhitelist()
|
|||||||
if (!IsValidUSBIDString(pid_string))
|
if (!IsValidUSBIDString(pid_string))
|
||||||
{
|
{
|
||||||
// i18n: Here, PID means Product ID (for a USB device).
|
// i18n: Here, PID means Product ID (for a USB device).
|
||||||
QMessageBox pid_warning_box;
|
QMessageBox pid_warning_box(this);
|
||||||
pid_warning_box.setIcon(QMessageBox::Warning);
|
pid_warning_box.setIcon(QMessageBox::Warning);
|
||||||
pid_warning_box.setWindowTitle(tr("USB Whitelist Error"));
|
pid_warning_box.setWindowTitle(tr("USB Whitelist Error"));
|
||||||
// i18n: Here, PID means Product ID (for a USB device).
|
// i18n: Here, PID means Product ID (for a USB device).
|
||||||
|
Loading…
x
Reference in New Issue
Block a user