Qt: Implement "Export All Wii Saves"
This commit is contained in:
parent
9469fc3d6f
commit
0dfde1d34e
|
@ -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();
|
||||
}
|
||||
|
|
|
@ -25,6 +25,7 @@ public:
|
|||
// Tools
|
||||
void InstallWAD();
|
||||
void ImportWiiSave();
|
||||
void ExportWiiSaves();
|
||||
|
||||
signals:
|
||||
// File
|
||||
|
|
Loading…
Reference in New Issue