mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-08-04 00:13:08 +00:00
clang
This commit is contained in:
parent
a6a8f2a00b
commit
e2592c8610
@ -225,7 +225,8 @@ void EditorDialog::loadInstalledGames() {
|
|||||||
QDir parentFolder(installDir);
|
QDir parentFolder(installDir);
|
||||||
QFileInfoList fileList = parentFolder.entryInfoList(QDir::Dirs | QDir::NoDotAndDotDot);
|
QFileInfoList fileList = parentFolder.entryInfoList(QDir::Dirs | QDir::NoDotAndDotDot);
|
||||||
for (const auto& fileInfo : fileList) {
|
for (const auto& fileInfo : fileList) {
|
||||||
if (fileInfo.isDir() && (!fileInfo.filePath().endsWith("-UPDATE") || !fileInfo.filePath().endsWith("-patch"))) {
|
if (fileInfo.isDir() && (!fileInfo.filePath().endsWith("-UPDATE") ||
|
||||||
|
!fileInfo.filePath().endsWith("-patch"))) {
|
||||||
gameComboBox->addItem(fileInfo.fileName()); // Add game name to combo box
|
gameComboBox->addItem(fileInfo.fileName()); // Add game name to combo box
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user