diff options
author | Didier Raboud <odyx@debian.org> | 2013-03-27 10:20:06 +0100 |
---|---|---|
committer | Didier Raboud <odyx@debian.org> | 2013-03-27 10:20:06 +0100 |
commit | 991dbd1e37366b43b790740beb2fef755c56dcba (patch) | |
tree | 5491e5177e10ab998c3d928a9d5aa4722c50c017 /src/ui | |
parent | df5edc703c7241279116d2bbfe08351d0c3c2a4b (diff) | |
download | colobot-991dbd1e37366b43b790740beb2fef755c56dcba.tar.gz colobot-991dbd1e37366b43b790740beb2fef755c56dcba.tar.bz2 colobot-991dbd1e37366b43b790740beb2fef755c56dcba.zip |
Add profile and savegame fetchers in SystemUtils
This breaks the tests compilation. :/
Diffstat (limited to 'src/ui')
-rw-r--r-- | src/ui/maindialog.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ui/maindialog.cpp b/src/ui/maindialog.cpp index a3670de..ced4324 100644 --- a/src/ui/maindialog.cpp +++ b/src/ui/maindialog.cpp @@ -18,6 +18,7 @@ #include "ui/maindialog.h" #include "app/app.h" +#include "app/system.h" #include "common/global.h" #include "common/event.h" @@ -173,7 +174,7 @@ CMainDialog::CMainDialog() m_sceneDir = "levels"; - m_savegameDir = "savegame"; + m_savegameDir = GetSystemUtils()->savegameDirectoryLocation(); m_publicDir = "program"; m_userDir = "user"; m_filesDir = "files"; |