[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdenetwork/kopete/protocols/oscar/liboscar/tasks
From: Roman Jarosz <kedgedev () centrum ! cz>
Date: 2008-12-28 14:12:30
Message-ID: 1230473550.899495.32656.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 902498 by rjarosz:
Use kWarning for ssi errors so user can see what is going wrong without debug enabled.
M +7 -7 ssimodifytask.cpp
--- trunk/KDE/kdenetwork/kopete/protocols/oscar/liboscar/tasks/ssimodifytask.cpp #902497:902498
@@ -262,28 +262,28 @@
updateContactManager();
break;
case 0x0002:
- kDebug( OSCAR_RAW_DEBUG ) << "Item to modify not found in list";
+ kWarning( OSCAR_RAW_DEBUG ) << "Item to modify not found in list";
setSuccess( 0, QString() );
break;
case 0x0003:
- kDebug( OSCAR_RAW_DEBUG ) << "Item already exists in SSI";
+ kWarning( OSCAR_RAW_DEBUG ) << "Item already exists in SSI";
setSuccess( 0, QString() );
break;
case 0x000A:
- kDebug( OSCAR_RAW_DEBUG ) << "Error adding item ( invalid id, already in list, invalid data )";
+ kWarning( OSCAR_RAW_DEBUG ) << "Error adding item ( invalid id, already in list, invalid data )";
setSuccess( 0, QString() );
break;
case 0x000C:
- kDebug( OSCAR_RAW_DEBUG ) << "Can't add item. Limit exceeded.";
+ kWarning( OSCAR_RAW_DEBUG ) << "Can't add item. Limit exceeded.";
setSuccess( 0, QString() );
break;
case 0x000D:
- kDebug( OSCAR_RAW_DEBUG ) << "Can't add ICQ item to AIM list ( and vice versa )";
+ kWarning( OSCAR_RAW_DEBUG ) << "Can't add ICQ item to AIM list ( and vice versa )";
setSuccess( 0, QString() );
break;
case 0x000E:
{
- kDebug( OSCAR_RAW_DEBUG ) << "Can't add item because contact requires authorization";
+ kWarning( OSCAR_RAW_DEBUG ) << "Can't add item because contact requires authorization";
OContact groupItem = m_ssiManager->findGroup( m_newItem.gid() );
QString groupName = groupItem.name();
addContact( m_newItem.name(), groupName, true );
@@ -291,7 +291,7 @@
break;
}
default:
- kDebug( OSCAR_RAW_DEBUG ) << "Unknown acknowledgement code";
+ kWarning( OSCAR_RAW_DEBUG ) << "Unknown acknowledgement code " << ackCode;
setSuccess( 0, QString() );
break;
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic