summaryrefslogtreecommitdiff
path: root/src/modules/partition/jobs/FillGlobalStorageJob.cpp
diff options
context:
space:
mode:
authorAdriaan de Groot <groot@kde.org>2019-02-11 09:18:21 -0500
committerAdriaan de Groot <groot@kde.org>2019-02-11 09:21:43 -0500
commit0fdc73796897dae348cda5096a23795c5478435b (patch)
tree1fdd8cef42d41f7d4fe4079de23aa690125360e4 /src/modules/partition/jobs/FillGlobalStorageJob.cpp
parent2fda5957f1139772961e28f191ea52e4641ce998 (diff)
[partition] Fix logging output
- Using the assignment-operator just generates blank lines. - Using QLog with a log-level avoids the cDebug()-style special handling of warnings and errors (useless here, but may as well fix code style).
Diffstat (limited to 'src/modules/partition/jobs/FillGlobalStorageJob.cpp')
-rw-r--r--src/modules/partition/jobs/FillGlobalStorageJob.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/partition/jobs/FillGlobalStorageJob.cpp b/src/modules/partition/jobs/FillGlobalStorageJob.cpp
index 597d62a82..1f4026dec 100644
--- a/src/modules/partition/jobs/FillGlobalStorageJob.cpp
+++ b/src/modules/partition/jobs/FillGlobalStorageJob.cpp
@@ -96,7 +96,7 @@ mapForPartition( Partition* partition, const QString& uuid )
// Debugging for inside the loop in createPartitionList(),
// so indent a bit
- Logger::CLog deb = cDebug();
+ Logger::CDebug deb;
using TR = Logger::DebugRow<const char *const, const QString&>;
deb << " .. mapping for" << partition->partitionPath() << partition->deviceNode()
<< TR( "mtpoint:", PartitionInfo::mountPoint( partition ) )