Commit ca98e574 authored by David Faure's avatar David Faure

Remove usage of undefined debug area 7012; turn noisy warning into a debug.

CCBUG: 173760
parent 74b99150
......@@ -317,7 +317,7 @@ QStringList KMimeTypeRepository::parents(const QString& mime)
const QString derivedTypeName = line.left(pos);
KMimeType::Ptr derivedType = findMimeTypeByName(derivedTypeName, KMimeType::ResolveAliases);
if (!derivedType)
kWarning(7012) << fileName << " refers to unknown mimetype " << derivedTypeName;
kDebug() << fileName << " refers to unknown mimetype " << derivedTypeName;
else {
const QString parentTypeName = line.mid(pos+1);
Q_ASSERT(!parentTypeName.isEmpty());
......
......@@ -102,7 +102,7 @@ KSycocaEntry* KBuildServiceFactory::createEntry( const QString& file, const char
return serv;
} else {
if (!serv->isDeleted()) {
kWarning(7012) << "Invalid Service : " << file;
kWarning() << "Invalid Service : " << file;
}
delete serv;
return 0;
......
......@@ -77,14 +77,14 @@ KSycocaEntry* KBuildServiceTypeFactory::createEntry(const QString &file, const c
const QString type = desktopGroup.readEntry( "Type" );
if ( type != QLatin1String( "ServiceType" ) ) {
kWarning(7012) << "The service type config file " << desktopFile.fileName() << " has Type=" << type << " instead of Type=ServiceType";
kWarning() << "The service type config file " << desktopFile.fileName() << " has Type=" << type << " instead of Type=ServiceType";
return 0;
}
const QString serviceType = desktopGroup.readEntry( "X-KDE-ServiceType" );
if ( serviceType.isEmpty() ) {
kWarning(7012) << "The service type config file " << desktopFile.fileName() << " does not contain a ServiceType=... entry";
kWarning() << "The service type config file " << desktopFile.fileName() << " does not contain a ServiceType=... entry";
return 0;
}
......@@ -96,7 +96,7 @@ KSycocaEntry* KBuildServiceTypeFactory::createEntry(const QString &file, const c
}
if ( !(e->isValid()) ) {
kWarning(7012) << "Invalid ServiceType : " << file;
kWarning() << "Invalid ServiceType : " << file;
delete e;
return 0;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment