qt: Fix message box for game overwrite. (#1181)

This commit is contained in:
squidbus 2024-10-01 05:49:30 -07:00 committed by GitHub
parent bf3e43b016
commit e4c8626806
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -768,7 +768,7 @@ void MainWindow::InstallDragDropPkg(std::filesystem::path file, int pkgNum, int
}
}
} else {
msgBox.setText(QString(tr("Game already installed") + "\n" + addonDirPath + "\n" +
msgBox.setText(QString(tr("Game already installed") + "\n" + gameDirPath + "\n" +
tr("Would you like to overwrite?")));
msgBox.setStandardButtons(QMessageBox::Yes | QMessageBox::No);
msgBox.setDefaultButton(QMessageBox::No);