From 3d642563cbdb33784165e4f7d29dbaa66b455492 Mon Sep 17 00:00:00 2001 From: Tannin Date: Sun, 19 Jun 2016 15:59:50 +0200 Subject: usvfs log level can now be changed without a restart --- src/organizercore.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/organizercore.cpp') 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 #include #include +#include #include "appconfig.h" #include #include @@ -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) -- cgit v1.3.1