diff options
| author | Cerapter <cerap@protonmail.com> | 2018-12-16 10:41:59 +0100 |
|---|---|---|
| committer | oldmud0 <oldmud0@users.noreply.github.com> | 2018-12-16 09:39:21 -0600 |
| commit | 480db3e5857b02adcd229ee61ca644e7ff4953d6 (patch) | |
| tree | 96f8457fbd8b4325539ba59b19c6b4acdc30a7e7 /path_functions.cpp | |
| parent | de6877409714417c8fb29d66d1ae1ef098b82644 (diff) | |
AO 2.6 bugfixes.
- The `base/` folder's path is now determined based on where the
executable was executed, not where its workspace is.
- Showing custom shownames is now assumed to be `true` by default,
unless the `config.ini` says otherwise.
- The Lobby's listing of servers has now been moved into its constructor
(previously only specifically called by the "Back to Lobby" button).
This makes it list servers even if the user was kicked, banned, or left
due to timeout.
Diffstat (limited to 'path_functions.cpp')
| -rw-r--r-- | path_functions.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/path_functions.cpp b/path_functions.cpp index 7d40054f..a22b775e 100644 --- a/path_functions.cpp +++ b/path_functions.cpp @@ -31,7 +31,7 @@ QString AOApplication::get_base_path() base_path = external_storage + "/AO2/"; } #else - base_path = QDir::currentPath() + "/base/"; + base_path = applicationDirPath() + "/base/"; #endif return base_path; |
