mirror of
https://git.freebsd.org/ports.git
synced 2025-06-29 00:20:40 -04:00
11 lines
669 B
C++
11 lines
669 B
C++
--- kopete/kconf_update/kopete-nameTracking.cpp.orig 2018-09-07 10:14:33 UTC
|
|
+++ kopete/kconf_update/kopete-nameTracking.cpp
|
|
@@ -59,7 +59,7 @@ int main()
|
|
// check if it's a contact by checking for "protocol" substring in the tag,
|
|
// and the presence of a contactId child element.
|
|
QString pluginId = elem.attribute( QLatin1String( "plugin-id" ) );
|
|
- bool isProtocol = ( pluginId.contains( "protocol", false ) > 0 ); // case-insensitive search
|
|
+ bool isProtocol = bool( pluginId.contains( "protocol", false ) ); // case-insensitive search
|
|
bool hasContactId = false;
|
|
QDomNode field = elem.firstChild();
|
|
while( !field.isNull() )
|