mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-07-22 18:15:14 +00:00
clang
This commit is contained in:
parent
a1aeed0268
commit
6054fa14c6
@ -107,18 +107,18 @@ void GameDirectoryDialog::Save() {
|
||||
|
||||
if (gamesDirectory.isEmpty() || !QDir(gamesDirectory).exists() ||
|
||||
!QDir::isAbsolutePath(gamesDirectory)) {
|
||||
QMessageBox::critical(this, tr("Error"),"The value location for games is not valid.");
|
||||
QMessageBox::critical(this, tr("Error"), "The value location for games is not valid.");
|
||||
return;
|
||||
}
|
||||
|
||||
if (addonsDirectory.isEmpty() || !QDir::isAbsolutePath(addonsDirectory)) {
|
||||
QMessageBox::critical(this, tr("Error"),"The value location for DLC is not valid.");
|
||||
QMessageBox::critical(this, tr("Error"), "The value location for DLC is not valid.");
|
||||
return;
|
||||
}
|
||||
QDir addonsDir(addonsDirectory);
|
||||
if (!addonsDir.exists()) {
|
||||
if (!addonsDir.mkpath(".")) {
|
||||
QMessageBox::critical(this, tr("Error"),"The DLC location could not be created.");
|
||||
QMessageBox::critical(this, tr("Error"), "The DLC location could not be created.");
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
@ -381,8 +381,7 @@ public:
|
||||
setlistModeGridAct->setText(
|
||||
QCoreApplication::translate("MainWindow", "Grid View", nullptr));
|
||||
setlistElfAct->setText(QCoreApplication::translate("MainWindow", "Elf Viewer", nullptr));
|
||||
gamePathAct->setText(
|
||||
QCoreApplication::translate("MainWindow", "Game Directory", nullptr));
|
||||
gamePathAct->setText(QCoreApplication::translate("MainWindow", "Game Directory", nullptr));
|
||||
downloadCheatsPatchesAct->setText(
|
||||
QCoreApplication::translate("MainWindow", "Download Cheats/Patches", nullptr));
|
||||
dumpGameListAct->setText(
|
||||
|
Loading…
Reference in New Issue
Block a user