1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-19 03:52:17 +00:00

Fix deskutils/superkaramba-kde4 with clang7.

Reported by:	jbeich
This commit is contained in:
Adriaan de Groot 2018-09-07 12:20:46 +00:00
parent 7b51ccae99
commit 8303fb3db0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=479188

View File

@ -0,0 +1,15 @@
--- src/taskmanager.cpp.orig 2018-09-07 12:19:36 UTC
+++ src/taskmanager.cpp
@@ -908,10 +908,10 @@ bool Task::idMatch(const QString& id1, c
if (id1.isEmpty() || id2.isEmpty())
return false;
- if (id1.contains(id2) > 0)
+ if (id1.contains(id2))
return true;
- if (id2.contains(id1) > 0)
+ if (id2.contains(id1))
return true;
return false;