summaryrefslogtreecommitdiff
path: root/src/organizercore.cpp
diff options
context:
space:
mode:
authorTannin <sherb@gmx.net>2016-06-19 15:59:50 +0200
committerTannin <sherb@gmx.net>2016-06-19 15:59:50 +0200
commit3d642563cbdb33784165e4f7d29dbaa66b455492 (patch)
tree2b52cb3bcfc6998cf76c8f4823df3782f1b886a0 /src/organizercore.cpp
parent0100c86887764547a705db5c311bcb5d6939423d (diff)
usvfs log level can now be changed without a restart
Diffstat (limited to 'src/organizercore.cpp')
-rw-r--r--src/organizercore.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/organizercore.cpp b/src/organizercore.cpp
index 1bec27bc..6ceefb4b 100644
--- a/src/organizercore.cpp
+++ b/src/organizercore.cpp
@@ -22,6 +22,7 @@
#include <directoryentry.h>
#include <scopeguard.h>
#include <utility.h>
+#include <usvfs.h>
#include "appconfig.h"
#include <report.h>
#include <questionboxmemory.h>
@@ -599,6 +600,10 @@ void OrganizerCore::prepareVFS()
m_USVFS.updateMapping(fileMapping(m_CurrentProfile->name(), QString()));
}
+void OrganizerCore::setLogLevel(int logLevel) {
+ m_USVFS.setLogLevel(logLevel);
+}
+
void OrganizerCore::setCurrentProfile(const QString &profileName)
{
if ((m_CurrentProfile != nullptr)