mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-23 18:32:49 +00:00
generic: correct reference to kbuildsycoca4 debug area
7012 is not reserved for anything Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
2c53b75153
commit
8ece51a7ca
3 changed files with 5 additions and 5 deletions
|
@ -313,7 +313,7 @@ QStringList KMimeTypeRepository::parents(const QString& mime)
|
|||
const QString derivedTypeNameStr = QString::fromLatin1(derivedTypeName.constData(), derivedTypeName.size());
|
||||
KMimeType::Ptr derivedType = findMimeTypeByName(derivedTypeNameStr, KMimeType::ResolveAliases);
|
||||
if (!derivedType)
|
||||
kWarning(7012) << fileName << " refers to unknown mimetype " << derivedTypeNameStr;
|
||||
kWarning(7021) << fileName << " refers to unknown mimetype " << derivedTypeNameStr;
|
||||
else {
|
||||
const QByteArray parentTypeName = line.mid(pos+1);
|
||||
const QString parentTypeNameStr = QString::fromLatin1(parentTypeName.constData(), parentTypeName.size());
|
||||
|
|
|
@ -102,7 +102,7 @@ KSycocaEntry* KBuildServiceFactory::createEntry( const QString& file, const char
|
|||
return serv;
|
||||
} else {
|
||||
if (!serv->isDeleted()) {
|
||||
kWarning(7012) << "Invalid Service : " << file;
|
||||
kWarning(7021) << "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(7021) << "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(7021) << "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(7021) << "Invalid ServiceType : " << file;
|
||||
delete e;
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue