[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdelibs/kded
From: André Wöbbeking <woebbeking () kde ! org>
Date: 2010-01-10 18:39:14
Message-ID: 1263148754.904924.28914.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 1072689 by woebbe:
- kDebug|kWarning|kError|kFatal("string") do not print "string" (the (bool, int) \
overload is called)
- kDebug|kWarning|kError|kFatal() print the method name automatically, no need to \
write it yourself
M +4 -4 kbuildservicegroupfactory.cpp
--- trunk/KDE/kdelibs/kded/kbuildservicegroupfactory.cpp #1072688:1072689
@@ -54,7 +54,7 @@
KBuildServiceGroupFactory::createEntry( const QString&, const char * ) const
{
// Unused
- kWarning("!!!! KBuildServiceGroupFactory::createEntry called!");
+ kWarning(7021) << "called!";
return 0;
}
@@ -68,7 +68,7 @@
if (!entry)
{
- kWarning(7021) << "KBuildServiceGroupFactory::addNewEntryTo( " << menuName << ", \
" << newEntry->name() << " ): menu does not exists!"; + kWarning(7021) << "( " << \
menuName << ", " << newEntry->name() << " ): menu does not exists!"; return;
}
entry->addEntry( KSycocaEntry::Ptr::staticCast( newEntry ) );
@@ -80,7 +80,7 @@
KSycocaEntry::Ptr ptr = m_entryDict->value(menuName);
if (ptr)
{
- kWarning(7021) << "KBuildServiceGroupFactory::addNew( " << menuName << ", " << \
file << " ): menu already exists!"; + kWarning(7021) << "( " << menuName << ", " \
<< file << " ): menu already exists!"; return KServiceGroup::Ptr::staticCast( ptr );
}
@@ -110,7 +110,7 @@
parentEntry = KServiceGroup::Ptr::staticCast( ptr );
if (!parentEntry)
{
- kWarning(7021) << "KBuildServiceGroupFactory::addNew( " << menuName << ", " \
<< file << " ): parent menu does not exist!"; + kWarning(7021) << "( " << \
menuName << ", " << file << " ): parent menu does not exist!"; }
else
{
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic