summaryrefslogtreecommitdiffstats
path: root/src/util/consoleLogger.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/consoleLogger.cpp')
-rwxr-xr-x[-rw-r--r--]src/util/consoleLogger.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/consoleLogger.cpp b/src/util/consoleLogger.cpp
index b523b40..ae29989 100644..100755
--- a/src/util/consoleLogger.cpp
+++ b/src/util/consoleLogger.cpp
@@ -226,7 +226,7 @@ void ConsoleLogger::_prepareLog()
_logFileGood = false;
_readLog();
- mkdir(getPolicyFilePath(QString()).toUtf8().data(), 0777);
+ createPolicyDir();
QString fullpath;
fullpath.append(_logPath);
//TODO: handle wether path/ or path were entered?