GameList: Check Wii save path
Make the behaviour consistent with GC save
This commit is contained in:
parent
7e9a63b987
commit
9ee564dde3
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue