@@ -398,10 +398,10 @@ void GameCheatSettingsWidget::checkForMasterDisable()
398398 if (!game_settings_enabled)
399399 {
400400 QMessageBox* const mbox = QtUtils::NewMessageBox (
401- this , QMessageBox::Warning, tr (" Confirm Game Settings Enable " ),
402- tr (" <h3> Game settings are currently disabled.</h3><p> This is <strong>not</strong> the default. Enabling this "
403- " cheat will not have any effect until game settings are enabled. Do you want to do this now?" ),
404- QMessageBox::Yes | QMessageBox::No);
401+ this , QMessageBox::Warning, tr (" Enable Game Settings" ),
402+ tr (" Game settings are currently disabled. This is NOT the default. Enabling this cheat will not have any effect "
403+ " until game settings are enabled.\n\n Do you want to enable game settings now?" ),
404+ QMessageBox::Yes | QMessageBox::No, QMessageBox::Yes );
405405 QCheckBox* cb = new QCheckBox (mbox);
406406 cb->setText (tr (" Do not show again" ));
407407 mbox->setCheckBox (cb);
@@ -412,16 +412,16 @@ void GameCheatSettingsWidget::checkForMasterDisable()
412412 g_core_thread->applySettings (false );
413413 });
414414
415- mbox->show ();
415+ mbox->open ();
416416 }
417417
418418 if (!cheats_enabled)
419419 {
420- QMessageBox* const mbox = QtUtils::NewMessageBox (
421- this , QMessageBox::Warning , tr (" Confirm Cheat Enable" ),
422- tr (" <h3> Cheats are not currently enabled for this game.</h3><p> Enabling this cheat will not have any "
423- " effect until cheats are enabled for this game. Do you want to do this now?" ),
424- QMessageBox::Yes | QMessageBox::No);
420+ QMessageBox* const mbox =
421+ QtUtils::NewMessageBox ( this , QMessageBox::Question , tr (" Enable Cheats " ),
422+ tr (" Cheats are not currently enabled for this game. Enabling this cheat will not have any "
423+ " effect until cheats are enabled for this game.\n\n Do you want to enable cheats now?" ),
424+ QMessageBox::Yes | QMessageBox::No, QMessageBox::Yes );
425425 QCheckBox* cb = new QCheckBox (mbox);
426426 cb->setText (tr (" Do not show again" ));
427427 cb->setChecked (m_master_enable_ignored);
@@ -430,7 +430,7 @@ void GameCheatSettingsWidget::checkForMasterDisable()
430430 connect (mbox, &QMessageBox::accepted, this , [this ]() { m_ui.enableCheats ->setChecked (true ); });
431431 connect (mbox, &QMessageBox::rejected, this , [this , cb]() { m_master_enable_ignored = cb->isChecked (); });
432432
433- mbox->show ();
433+ mbox->open ();
434434 }
435435}
436436
0 commit comments