mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-08-11 18:48:59 +00:00
real fix this time ? (#2717)
Some checks are pending
Build and Release / reuse (push) Waiting to run
Build and Release / clang-format (push) Waiting to run
Build and Release / get-info (push) Waiting to run
Build and Release / windows-sdl (push) Blocked by required conditions
Build and Release / windows-qt (push) Blocked by required conditions
Build and Release / macos-sdl (push) Blocked by required conditions
Build and Release / macos-qt (push) Blocked by required conditions
Build and Release / linux-sdl (push) Blocked by required conditions
Build and Release / linux-qt (push) Blocked by required conditions
Build and Release / linux-sdl-gcc (push) Blocked by required conditions
Build and Release / linux-qt-gcc (push) Blocked by required conditions
Build and Release / pre-release (push) Blocked by required conditions
Some checks are pending
Build and Release / reuse (push) Waiting to run
Build and Release / clang-format (push) Waiting to run
Build and Release / get-info (push) Waiting to run
Build and Release / windows-sdl (push) Blocked by required conditions
Build and Release / windows-qt (push) Blocked by required conditions
Build and Release / macos-sdl (push) Blocked by required conditions
Build and Release / macos-qt (push) Blocked by required conditions
Build and Release / linux-sdl (push) Blocked by required conditions
Build and Release / linux-qt (push) Blocked by required conditions
Build and Release / linux-sdl-gcc (push) Blocked by required conditions
Build and Release / linux-qt-gcc (push) Blocked by required conditions
Build and Release / pre-release (push) Blocked by required conditions
This commit is contained in:
parent
8122f8ecbf
commit
064c3161c3
1 changed files with 2 additions and 2 deletions
|
@ -140,12 +140,12 @@ public:
|
||||||
QString open_update_path;
|
QString open_update_path;
|
||||||
Common::FS::PathToQString(open_update_path, m_games[itemID].path);
|
Common::FS::PathToQString(open_update_path, m_games[itemID].path);
|
||||||
open_update_path += "-UPDATE";
|
open_update_path += "-UPDATE";
|
||||||
if (!std::filesystem::exists(Common::FS::PathFromQString(open_update_path))) {
|
if (std::filesystem::exists(Common::FS::PathFromQString(open_update_path))) {
|
||||||
QDesktopServices::openUrl(QUrl::fromLocalFile(open_update_path));
|
QDesktopServices::openUrl(QUrl::fromLocalFile(open_update_path));
|
||||||
} else {
|
} else {
|
||||||
Common::FS::PathToQString(open_update_path, m_games[itemID].path);
|
Common::FS::PathToQString(open_update_path, m_games[itemID].path);
|
||||||
open_update_path += "-patch";
|
open_update_path += "-patch";
|
||||||
if (!std::filesystem::exists(Common::FS::PathFromQString(open_update_path))) {
|
if (std::filesystem::exists(Common::FS::PathFromQString(open_update_path))) {
|
||||||
QDesktopServices::openUrl(QUrl::fromLocalFile(open_update_path));
|
QDesktopServices::openUrl(QUrl::fromLocalFile(open_update_path));
|
||||||
} else {
|
} else {
|
||||||
QMessageBox::critical(nullptr, tr("Error"),
|
QMessageBox::critical(nullptr, tr("Error"),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue