aboutsummaryrefslogtreecommitdiff
path: root/path_functions.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'path_functions.cpp')
-rw-r--r--path_functions.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/path_functions.cpp b/path_functions.cpp
index 8766656..936060e 100644
--- a/path_functions.cpp
+++ b/path_functions.cpp
@@ -1,5 +1,6 @@
#include <QDir>
+#include "global_variables.h"
#include "text_file_functions.h"
#include "path_functions.h"
@@ -8,8 +9,9 @@ QString get_base_path(){
return (QDir::currentPath() + "/base/");
}
-QString get_theme_path(){
- return get_base_path() + "themes/" + get_user_theme() + "/";
+QString get_theme_path()
+{
+ return get_base_path() + "themes/" + g_user_theme.toLower() + "/";
}