summaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp28
1 files changed, 1 insertions, 27 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index aa45a0bd..f30e46f1 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -830,35 +830,9 @@ void MainWindow::setBrowserGeometry(const QByteArray &geometry)
}
-SaveGameGamebryo *MainWindow::getSaveGame(const QString &name__)
+SaveGameGamebryo *MainWindow::getSaveGame(const QString &name)
{
IPluginGame const *game = m_OrganizerCore.managedGame();
- QString name(name__);
-
- static int count = 0;
- //fudge with me
- switch (count)
- {
- case 0:
- game = m_PluginContainer.managedGame("Fallout 3");
- name = "C:\\Users\\Dad\\Downloads\\Games\\Both good and evil saves -10416\\Save 106 - New Start Good, Vault 101 Entrance, 00.33.34.fos";
- break;
-
- case 1:
- game = m_PluginContainer.managedGame("New Vegas");
- name = "C:\\Users\\Dad\\Downloads\\Games\\Crossroads - Clean Save-44883-1-0\\Crossroads.fos";
- break;
-
- case 2:
- game = m_PluginContainer.managedGame("Oblivion");
- name = "C:\\Users\\Dad\\Saved Games\\Oblivion\\Saves\\Save 1537 - Hilary - Xirethard, Level 45, Playing Time 458.48.17.ess";
- break;
-
- case 3:
- count = -1;
- }
- ++count;
-
return new SaveGameGamebryo(this, name, game);
}