diff --git a/src/modules/contextualprocess/ContextualProcessJob.cpp b/src/modules/contextualprocess/ContextualProcessJob.cpp index 0a1a2fc1a..f03d53466 100644 --- a/src/modules/contextualprocess/ContextualProcessJob.cpp +++ b/src/modules/contextualprocess/ContextualProcessJob.cpp @@ -110,7 +110,7 @@ ContextualProcessJob::setConfigurationMap( const QVariantMap& configurationMap ) if ( iter.value().type() != QVariant::Map ) { - cDebug() << "WARNING:" << moduleInstanceKey() << "bad configuration values for" << variableName; + cWarning() << moduleInstanceKey() << "bad configuration values for" << variableName; continue; } @@ -120,7 +120,7 @@ ContextualProcessJob::setConfigurationMap( const QVariantMap& configurationMap ) QString valueString = valueiter.key(); if ( variableName.isEmpty() ) { - cDebug() << "WARNING:" << moduleInstanceKey() << "variable" << variableName << "unrecognized value" << valueiter.key(); + cWarning() << moduleInstanceKey() << "variable" << variableName << "unrecognized value" << valueiter.key(); continue; } diff --git a/src/modules/keyboard/keyboardwidget/keyboardpreview.cpp b/src/modules/keyboard/keyboardwidget/keyboardpreview.cpp index 57f483200..535edaf24 100644 --- a/src/modules/keyboard/keyboardwidget/keyboardpreview.cpp +++ b/src/modules/keyboard/keyboardwidget/keyboardpreview.cpp @@ -115,13 +115,13 @@ bool KeyBoardPreview::loadCodes() { process.start("ckbcomp", param); if (!process.waitForStarted()) { - cDebug() << "WARNING: ckbcomp not found , keyboard preview disabled"; + cWarning() << "ckbcomp not found , keyboard preview disabled"; return false; } if (!process.waitForFinished()) { - cDebug() << "WARNING: ckbcomp failed, keyboard preview disabled"; + cWarning() << "ckbcomp failed, keyboard preview disabled"; return false; } diff --git a/src/modules/locale/LocalePage.cpp b/src/modules/locale/LocalePage.cpp index 945c10285..27d63f48e 100644 --- a/src/modules/locale/LocalePage.cpp +++ b/src/modules/locale/LocalePage.cpp @@ -346,7 +346,7 @@ LocalePage::init( const QString& initialRegion, if ( m_localeGenLines.isEmpty() ) { - cDebug() << "WARNING: cannot acquire a list of available locales." + cWarning() << "cannot acquire a list of available locales." << "The locale and localecfg modules will be broken as long as this " "system does not provide" << "\n\t " @@ -454,7 +454,7 @@ LocalePage::guessLocaleConfiguration() const // If we cannot say anything about available locales if ( m_localeGenLines.isEmpty() ) { - cDebug() << "WARNING: guessLocaleConfiguration can't guess from an empty list."; + cWarning() << "guessLocaleConfiguration can't guess from an empty list."; return LocaleConfiguration::createDefault(); } diff --git a/src/modules/welcome/checker/RequirementsChecker.cpp b/src/modules/welcome/checker/RequirementsChecker.cpp index e6c8a77de..1aa4e95f8 100644 --- a/src/modules/welcome/checker/RequirementsChecker.cpp +++ b/src/modules/welcome/checker/RequirementsChecker.cpp @@ -220,7 +220,7 @@ RequirementsChecker::setConfigurationMap( const QVariantMap& configurationMap ) } else { - cDebug() << "WARNING: RequirementsChecker entry 'check' is incomplete."; + cWarning() << "RequirementsChecker entry 'check' is incomplete."; incompleteConfiguration = true; } @@ -232,14 +232,14 @@ RequirementsChecker::setConfigurationMap( const QVariantMap& configurationMap ) } else { - cDebug() << "WARNING: RequirementsChecker entry 'required' is incomplete."; + cWarning() << "RequirementsChecker entry 'required' is incomplete."; incompleteConfiguration = true; } // Help out with consistency, but don't fix for ( const auto& r : m_entriesToRequire ) if ( !m_entriesToCheck.contains( r ) ) - cDebug() << "WARNING: RequirementsChecker requires" << r << "but does not check it."; + cWarning() << "RequirementsChecker requires" << r << "but does not check it."; if ( configurationMap.contains( "requiredStorage" ) && ( configurationMap.value( "requiredStorage" ).type() == QVariant::Double || @@ -249,7 +249,7 @@ RequirementsChecker::setConfigurationMap( const QVariantMap& configurationMap ) m_requiredStorageGB = configurationMap.value( "requiredStorage" ).toDouble( &ok ); if ( !ok ) { - cDebug() << "WARNING: RequirementsChecker entry 'requiredStorage' is invalid."; + cWarning() << "RequirementsChecker entry 'requiredStorage' is invalid."; m_requiredStorageGB = 3.; } @@ -257,7 +257,7 @@ RequirementsChecker::setConfigurationMap( const QVariantMap& configurationMap ) } else { - cDebug() << "WARNING: RequirementsChecker entry 'requiredStorage' is missing."; + cWarning() << "RequirementsChecker entry 'requiredStorage' is missing."; m_requiredStorageGB = 3.; incompleteConfiguration = true; } @@ -270,14 +270,14 @@ RequirementsChecker::setConfigurationMap( const QVariantMap& configurationMap ) m_requiredRamGB = configurationMap.value( "requiredRam" ).toDouble( &ok ); if ( !ok ) { - cDebug() << "WARNING: RequirementsChecker entry 'requiredRam' is invalid."; + cWarning() << "RequirementsChecker entry 'requiredRam' is invalid."; m_requiredRamGB = 1.; incompleteConfiguration = true; } } else { - cDebug() << "WARNING: RequirementsChecker entry 'requiredRam' is missing."; + cWarning() << "RequirementsChecker entry 'requiredRam' is missing."; m_requiredRamGB = 1.; incompleteConfiguration = true; } @@ -289,7 +289,7 @@ RequirementsChecker::setConfigurationMap( const QVariantMap& configurationMap ) if ( m_checkHasInternetUrl.isEmpty() || !QUrl( m_checkHasInternetUrl ).isValid() ) { - cDebug() << "WARNING: RequirementsChecker entry 'internetCheckUrl' is invalid in welcome.conf" << m_checkHasInternetUrl + cWarning() << "RequirementsChecker entry 'internetCheckUrl' is invalid in welcome.conf" << m_checkHasInternetUrl << "reverting to default (http://example.com)."; m_checkHasInternetUrl = "http://example.com"; incompleteConfiguration = true; @@ -297,7 +297,7 @@ RequirementsChecker::setConfigurationMap( const QVariantMap& configurationMap ) } else { - cDebug() << "WARNING: RequirementsChecker entry 'internetCheckUrl' is undefined in welcome.conf," + cWarning() << "RequirementsChecker entry 'internetCheckUrl' is undefined in welcome.conf," "reverting to default (http://example.com)."; m_checkHasInternetUrl = "http://example.com"; @@ -305,7 +305,7 @@ RequirementsChecker::setConfigurationMap( const QVariantMap& configurationMap ) } if ( incompleteConfiguration ) - cDebug() << "WARNING: RequirementsChecker configuration map:\n" << configurationMap; + cWarning() << "RequirementsChecker configuration map:\n" << configurationMap; } @@ -320,7 +320,7 @@ bool RequirementsChecker::checkEnoughStorage( qint64 requiredSpace ) { #ifdef WITHOUT_LIBPARTED - cDebug() << "WARNING: RequirementsChecker is configured without libparted."; + cWarning() << "RequirementsChecker is configured without libparted."; return false; #else return check_big_enough( requiredSpace );