diff options
| author | spycrab <spycrab@users.noreply.github.com> | 2017-08-24 15:21:21 +0200 |
|---|---|---|
| committer | spycrab <spycrab@users.noreply.github.com> | 2017-08-28 23:00:14 +0200 |
| commit | 0dfde1d34e7f4f068aad1461619691b8eea8d84d (patch) | |
| tree | e81c2ebfc9436062b630c8aa7fb11b08ea8a482e /Source/Core/DolphinQt2/MenuBar.cpp | |
| parent | 9469fc3d6fef425fced1c9e0c05c50dddb3b1966 (diff) | |
Qt: Implement "Export All Wii Saves"
Diffstat (limited to 'Source/Core/DolphinQt2/MenuBar.cpp')
| -rw-r--r-- | Source/Core/DolphinQt2/MenuBar.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/Core/DolphinQt2/MenuBar.cpp b/Source/Core/DolphinQt2/MenuBar.cpp index 56c5ff480e..38aace538c 100644 --- a/Source/Core/DolphinQt2/MenuBar.cpp +++ b/Source/Core/DolphinQt2/MenuBar.cpp @@ -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(); +} |
