aboutsummaryrefslogtreecommitdiff
path: root/path_functions.cpp
diff options
context:
space:
mode:
authoroldmud0 <oldmud0@users.noreply.github.com>2018-11-17 20:12:12 -0600
committeroldmud0 <oldmud0@users.noreply.github.com>2018-11-17 20:12:12 -0600
commit5bf5a228335e4859b61ae1af8558778592395eeb (patch)
treec2b66b5b71197e6600c619b47d72876b995a5108 /path_functions.cpp
parentb385babf77cafda37770ff2593af2a6a37e15260 (diff)
Fix compile-time issues from merge
Diffstat (limited to 'path_functions.cpp')
-rw-r--r--path_functions.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/path_functions.cpp b/path_functions.cpp
index 24041e2d..7d40054f 100644
--- a/path_functions.cpp
+++ b/path_functions.cpp
@@ -52,6 +52,16 @@ QString AOApplication::get_default_theme_path(QString p_file)
#endif
}
+QString AOApplication::get_custom_theme_path(QString p_theme, QString p_file)
+{
+ QString path = get_base_path() + "themes/" + p_theme + "/" + p_file;
+#ifndef CASE_SENSITIVE_FILESYSTEM
+ return path;
+#else
+ return get_case_sensitive_path(path);
+#endif
+}
+
QString AOApplication::get_theme_path(QString p_file)
{
QString path = get_base_path() + "themes/" + current_theme + "/" + p_file;