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;
|
||||
}
|
||||
}
|
||||
|
@ -709,7 +709,7 @@ void MainWindow::CreateConnects() {
|
||||
.arg(game_path);
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
connect(ui->bootGameAct, &QAction::triggered, this, &MainWindow::BootGame);
|
||||
connect(ui->gamePathAct, &QAction::triggered, this, &MainWindow::Directories);
|
||||
|
||||
|
@ -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(
|
||||
|
@ -45,7 +45,7 @@ private:
|
||||
void OnCursorStateChanged(s16 index);
|
||||
void closeEvent(QCloseEvent* event) override;
|
||||
void setDefaultValues();
|
||||
|
||||
|
||||
std::unique_ptr<Ui::SettingsDialog> ui;
|
||||
|
||||
std::map<std::string, int> languages;
|
||||
|
Loading…
Reference in New Issue
Block a user