mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-29 10:25:36 -04:00
Make logging more consistent.
- Across all the C++ modules, use Logger::SubEntry for sub/continues log lines, instead of somewhat-random indent strings.
This commit is contained in:
parent
d6cf0617f6
commit
520478847c
12 changed files with 43 additions and 43 deletions
|
@ -66,7 +66,7 @@ QString
|
|||
SetKeyboardLayoutJob::findConvertedKeymap( const QString& convertedKeymapPath ) const
|
||||
{
|
||||
cDebug() << "Looking for converted keymap in" << convertedKeymapPath;
|
||||
|
||||
|
||||
// No search path supplied, assume the distribution does not provide
|
||||
// converted keymaps
|
||||
if ( convertedKeymapPath.isEmpty() )
|
||||
|
@ -78,7 +78,7 @@ SetKeyboardLayoutJob::findConvertedKeymap( const QString& convertedKeymapPath )
|
|||
if ( convertedKeymapDir.exists( name + ".map" )
|
||||
|| convertedKeymapDir.exists( name + ".map.gz" ) )
|
||||
{
|
||||
cDebug() << ".. Found converted keymap" << name;
|
||||
cDebug() << Logger::SubEntry << "Found converted keymap" << name;
|
||||
return name;
|
||||
}
|
||||
|
||||
|
@ -90,7 +90,7 @@ QString
|
|||
SetKeyboardLayoutJob::findLegacyKeymap() const
|
||||
{
|
||||
cDebug() << "Looking for legacy keymap in QRC";
|
||||
|
||||
|
||||
int bestMatching = 0;
|
||||
QString name;
|
||||
|
||||
|
@ -140,7 +140,7 @@ SetKeyboardLayoutJob::findLegacyKeymap() const
|
|||
// The best matching entry so far, then let's save that
|
||||
if ( matching >= qMax( bestMatching, 1 ) )
|
||||
{
|
||||
cDebug() << ".. Found legacy keymap" << mapping[0]
|
||||
cDebug() << Logger::SubEntry << "Found legacy keymap" << mapping[0]
|
||||
<< "with score" << matching;
|
||||
|
||||
if ( matching > bestMatching )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue