History

logging groups for library/shared and interface

Seth Alves committed 11 years ago

Commit fb607e21 parent cd5245d30 files · +255 −172Browse files

Showing the changes to libraries/shared/src/SettingInterface.cpp (1 of 30 files). Show all

Unified · Split

libraries/shared/src/SettingInterface.cpp+3−2
@@ -16,6 +16,7 @@ · 15 unmodified lines
16#include "PathUtils.h"16#include "PathUtils.h"
17#include "SettingInterface.h"17#include "SettingInterface.h"
18#include "SettingManager.h"18#include "SettingManager.h"
19#include "SharedLogging.h"
19 20
20namespace Setting {21namespace Setting {
21 static Manager* privateInstance = nullptr;22 static Manager* privateInstance = nullptr;
@@ -58,7 +59,7 @@ namespace Setting { · 36 unmodified lines
58 QObject::connect(thread, SIGNAL(finished()), thread, SLOT(deleteLater()));59 QObject::connect(thread, SIGNAL(finished()), thread, SLOT(deleteLater()));
59 privateInstance->moveToThread(thread);60 privateInstance->moveToThread(thread);
60 thread->start();61 thread->start();
61 qDebug() << "Settings thread started.";62 qCDebug(shared) << "Settings thread started.";
62 63
63 // Register cleanupPrivateInstance to run inside QCoreApplication's destructor.64 // Register cleanupPrivateInstance to run inside QCoreApplication's destructor.
64 qAddPostRoutine(cleanupPrivateInstance);65 qAddPostRoutine(cleanupPrivateInstance);
@@ -104,4 +105,4 @@ namespace Setting { · 39 unmodified lines
104 privateInstance->loadSetting(this);105 privateInstance->loadSetting(this);
105 }106 }
106 }107 }
107}108}