mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 13:49:53 -06:00
Merge pull request #11714 from sepalani/check-wii-save-path
GameList: Check Wii save path
This commit is contained in:
@ -694,7 +694,14 @@ void GameList::OpenWiiSaveFolder()
|
|||||||
if (!game)
|
if (!game)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
QUrl url = QUrl::fromLocalFile(QString::fromStdString(game->GetWiiFSPath()));
|
const std::string path = game->GetWiiFSPath();
|
||||||
|
if (!File::Exists(path))
|
||||||
|
{
|
||||||
|
ModalMessageBox::information(this, tr("Information"), tr("No save data found."));
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
const QUrl url = QUrl::fromLocalFile(QString::fromStdString(path));
|
||||||
QDesktopServices::openUrl(url);
|
QDesktopServices::openUrl(url);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user