qt: Fix message box for game overwrite.

This commit is contained in:
squidbus 2024-10-01 05:18:01 -07:00
parent bf3e43b016
commit e1a1647d04

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);