aboutsummaryrefslogtreecommitdiff
path: root/path_functions.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'path_functions.cpp')
-rw-r--r--path_functions.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/path_functions.cpp b/path_functions.cpp
index e91b2732..8b9ff476 100644
--- a/path_functions.cpp
+++ b/path_functions.cpp
@@ -4,9 +4,20 @@
#include <QDir>
#include <QDebug>
+#ifdef BASE_OVERRIDE
+#include "base_override.h"
+#endif
+
QString AOApplication::get_base_path()
{
+#ifdef BASE_OVERRIDE
+ return base_override;
+#else
+ return QDir::currentPath() + "/base/";
+#endif
+
+ /*
#ifdef OMNI_DEBUG
return "/media/omnitroid/Data/winshare/AO/client/base/";
#elif OMNI_DEBUG2
@@ -20,6 +31,7 @@ QString AOApplication::get_base_path()
#else
return QDir::currentPath() + "/base/";
#endif
+*/
}
QString AOApplication::get_data_path()