summaryrefslogtreecommitdiffstats
path: root/core/android.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/android.cpp')
-rw-r--r--core/android.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/android.cpp b/core/android.cpp
index 7c9965c16..5234f35a9 100644
--- a/core/android.cpp
+++ b/core/android.cpp
@@ -52,7 +52,7 @@ static const char *system_default_path_append(const char *append)
if (append)
path += QString("/%1").arg(append);
- return strdup(path.toUtf8().data());
+ return strdup(qPrintable(path));
}
const char *system_default_directory(void)