Qt: Implement "Export All Wii Saves"

This commit is contained in:
spycrab 2017-08-24 15:21:21 +02:00
parent 9469fc3d6f
commit 0dfde1d34e
2 changed files with 7 additions and 0 deletions

View File

@ -89,6 +89,7 @@ void MenuBar::AddToolsMenu()
QMenu* tools_menu = addMenu(tr("&Tools"));
tools_menu->addAction(tr("Import Wii Save..."), this, &MenuBar::ImportWiiSave);
tools_menu->addAction(tr("Export All Wii Saves"), this, &MenuBar::ExportWiiSaves);
tools_menu->addSeparator();
@ -427,3 +428,8 @@ void MenuBar::ImportWiiSave()
if (!file.isEmpty())
CWiiSaveCrypted::ImportWiiSave(file.toStdString());
}
void MenuBar::ExportWiiSaves()
{
CWiiSaveCrypted::ExportAllSaves();
}

View File

@ -25,6 +25,7 @@ public:
// Tools
void InstallWAD();
void ImportWiiSave();
void ExportWiiSaves();
signals:
// File