Skip to content

Commit 8e6272b

Browse files
cipherxofMegamouse
authored andcommitted
Qt: Fix boot failed dialog
1 parent 0aca5e2 commit 8e6272b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

rpcs3/rpcs3qt/main_window.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -549,13 +549,12 @@ void main_window::show_boot_error(game_boot_result status)
549549
}
550550
const QString link = tr("<br /><br />For information on setting up the emulator and dumping your PS3 games, read the <a %0 href=\"https://rpcs3.net/quickstart\">quickstart guide</a>.").arg(gui::utils::get_link_style());
551551

552-
QMessageBox* msg = new QMessageBox();
552+
QMessageBox* msg = new QMessageBox(this);
553553
msg->setWindowTitle(tr("Boot Failed"));
554554
msg->setIcon(QMessageBox::Critical);
555555
msg->setTextFormat(Qt::RichText);
556556
msg->setStandardButtons(QMessageBox::Ok);
557557
msg->setText(tr("Booting failed: %1 %2").arg(message).arg(link));
558-
msg->setParent(this);
559558
msg->setAttribute(Qt::WA_DeleteOnClose);
560559
msg->open();
561560
}

0 commit comments

Comments
 (0)