summaryrefslogtreecommitdiffstats
path: root/common/log.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'common/log.cpp')
-rw-r--r--common/log.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/common/log.cpp b/common/log.cpp
index b0f6237..83cdc8a 100644
--- a/common/log.cpp
+++ b/common/log.cpp
@@ -16,6 +16,12 @@ static QSharedPointer<QSettings> config()
16 return QSharedPointer<QSettings>::create(QStandardPaths::writableLocation(QStandardPaths::GenericDataLocation) + "/sink/log.ini", QSettings::IniFormat); 16 return QSharedPointer<QSettings>::create(QStandardPaths::writableLocation(QStandardPaths::GenericDataLocation) + "/sink/log.ini", QSettings::IniFormat);
17} 17}
18 18
19static QByteArray sPrimaryComponent;
20void Sink::Log::setPrimaryComponent(const QString &component)
21{
22 sPrimaryComponent = component.toUtf8();
23}
24
19class DebugStream : public QIODevice 25class DebugStream : public QIODevice
20{ 26{
21public: 27public: