diff options
| author | Thomas Tanner <trtanner@btinternet.com> | 2015-12-06 12:07:25 +0000 |
|---|---|---|
| committer | Thomas Tanner <trtanner@btinternet.com> | 2015-12-06 12:07:25 +0000 |
| commit | 3670ab2528ff6a129af4e4aeaf50574e2c9080ba (patch) | |
| tree | de7bbfd6de6afe830f8ec1a624876cf174aab376 /src/mainwindow.cpp | |
| parent | 235d893eb845c3c8c0edb9dcdb703ce3ec31bdb5 (diff) | |
Remove debugging code quick!
Diffstat (limited to 'src/mainwindow.cpp')
| -rw-r--r-- | src/mainwindow.cpp | 28 |
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);
}
|
