diff options
Diffstat (limited to 'common/log.cpp')
-rw-r--r-- | common/log.cpp | 6 |
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 | ||
19 | static QByteArray sPrimaryComponent; | ||
20 | void Sink::Log::setPrimaryComponent(const QString &component) | ||
21 | { | ||
22 | sPrimaryComponent = component.toUtf8(); | ||
23 | } | ||
24 | |||
19 | class DebugStream : public QIODevice | 25 | class DebugStream : public QIODevice |
20 | { | 26 | { |
21 | public: | 27 | public: |