From a7a170190661949874e9776d00fbdcbb044eb277 Mon Sep 17 00:00:00 2001 From: adridg Date: Fri, 7 Sep 2018 12:20:46 +0000 Subject: Fix deskutils/superkaramba-kde4 with clang7. Reported by: jbeich --- .../superkaramba-kde4/files/patch-src_taskmanager.cpp | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 deskutils/superkaramba-kde4/files/patch-src_taskmanager.cpp (limited to 'deskutils/superkaramba-kde4/files') diff --git a/deskutils/superkaramba-kde4/files/patch-src_taskmanager.cpp b/deskutils/superkaramba-kde4/files/patch-src_taskmanager.cpp new file mode 100644 index 000000000000..f96e1650292c --- /dev/null +++ b/deskutils/superkaramba-kde4/files/patch-src_taskmanager.cpp @@ -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; -- cgit