qt: Fixed migration text box erroneously being show if there is no Azahar, Citra or Lime3DS data

This commit is contained in:
OpenSauce04 2025-03-13 19:02:17 +00:00
parent e6ca7119af
commit 518b3d7432

View File

@ -82,6 +82,10 @@ void UserDataMigrator::ShowMigrationPrompt(QMainWindow* main_window) {
} }
} }
else { // Neither Citra or Lime3DS data was found; Do nothing
return;
}
// If we're here, the user chose not to migrate // If we're here, the user chose not to migrate
ShowMigrationCancelledMessage(main_window); ShowMigrationCancelledMessage(main_window);
} }
@ -135,4 +139,4 @@ void UserDataMigrator::MigrateUserData(QMainWindow* main_window,
"%1") "%1")
.arg(QString::fromStdString(legacy_user_dir)), .arg(QString::fromStdString(legacy_user_dir)),
QMessageBox::Ok); QMessageBox::Ok);
} }