aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOmniTroid <davidskoland@gmail.com>2017-05-15 23:35:08 +0200
committerOmniTroid <davidskoland@gmail.com>2017-05-15 23:35:08 +0200
commitb32ad3a565122a058d425183563c9046e348b639 (patch)
tree985713b24d9ec2266aa466e31c3463e9b1443c6b
parent24f4c96f350c55177376d322c3d59b21d3ff5279 (diff)
parenta14da4c5415dfd711c59eef1f840429393218cf1 (diff)
Merge branch 'master' of https://github.com/Attorney-Online-Engineering-Task-Force/AO2-Client
-rw-r--r--path_functions.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/path_functions.cpp b/path_functions.cpp
index c415fa09..754ce9e3 100644
--- a/path_functions.cpp
+++ b/path_functions.cpp
@@ -18,7 +18,7 @@ QString AOApplication::get_base_path()
base_path = base_override;
#elif defined(ANDROID)
QString sdcard_storage = getenv("SECONDARY_STORAGE");
- if (dir_exists(sdcard_storage)){
+ if (dir_exists(sdcard_storage + "/AO2/")){
base_path = sdcard_storage + "/AO2/";
}else{
QString external_storage = getenv("EXTERNAL_STORAGE");