KProtocolInfo::icon( QString protocol ): return QString() or "unknown" if unknown?

Friedrich W. H. Kossebau kossebau at kde.org
Sat Jan 31 23:41:47 GMT 2009


Hi,

who is wrong, the dox or the implementation?

The API dox of "KProtocolInfo::icon( QString protocol )" says:
	Returns:
	the icon of the protocol, or null if unknown
But the code returns "unknown" if unknown.

*http://api.kde.org/4.x-api/kdelibs-apidocs/kdecore/html/classKProtocolInfo.html#b5b8b8dabb17e0212f988eb2fbe5b113

Cheers
Friedrich
-- 
Okteta - KDE 4 Hex Editor - http://utils.kde.org/projects/okteta




More information about the kde-core-devel mailing list