mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-26 00:48:22 -04:00
[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).
This commit is contained in:
parent
2fda5957f1
commit
0fdc737968
2 changed files with 2 additions and 2 deletions
|
@ -538,7 +538,7 @@ findFS( QString defaultFS )
|
|||
// This bit is for distro's debugging their settings, and shows
|
||||
// all the strings that KPMCore is matching against for FS type.
|
||||
{
|
||||
Logger::CLog d( Logger::LOGDEBUG );
|
||||
Logger::CDebug d;
|
||||
using TR = Logger::DebugRow< int, QString >;
|
||||
const auto fstypes = FileSystem::types();
|
||||
d << "Available types (" << fstypes.count() << ')';
|
||||
|
|
|
@ -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 ) )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue