summaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
authorThomas Tanner <trtanner@btinternet.com>2015-12-13 18:30:40 +0000
committerThomas Tanner <trtanner@btinternet.com>2015-12-13 18:30:40 +0000
commitba176e5e9b639ac0770192987833a3b40e71409a (patch)
tree2c1a82d3fcede23e82bddf5b31768e03982d8950 /src/mainwindow.cpp
parentc344714661a2404a54428439f0cf7dbb1573d01f (diff)
Remove dependency of TransferSave on SaveGameBryo, part of fix for #418
Added a method to Profile class to get location of save games for the profile. I haven't added this to IProfile as am in two minds. Aside from this have done cleanups of issues suggested by include-what-you-use, and some OCD sorting of #includes
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index f30e46f1..a85a0fb3 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -1262,7 +1262,7 @@ QDir MainWindow::currentSavesDir() const
{
QDir savesDir;
if (m_OrganizerCore.currentProfile()->localSavesEnabled()) {
- savesDir.setPath(m_OrganizerCore.currentProfile()->absolutePath() + "/saves");
+ savesDir.setPath(m_OrganizerCore.currentProfile()->savePath());
} else {
wchar_t path[MAX_PATH];
::GetPrivateProfileStringW(