diff options
Diffstat (limited to 'arch/tde-extra/tde-tork/bp000-7576a4bf.diff')
-rw-r--r-- | arch/tde-extra/tde-tork/bp000-7576a4bf.diff | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/arch/tde-extra/tde-tork/bp000-7576a4bf.diff b/arch/tde-extra/tde-tork/bp000-7576a4bf.diff new file mode 100644 index 000000000..64db42995 --- /dev/null +++ b/arch/tde-extra/tde-tork/bp000-7576a4bf.diff @@ -0,0 +1,31 @@ +From 7576a4bfe86835552ede116488e70baae64df9e8 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Fran=C3=A7ois=20Andriot?= <[email protected]> +Date: Tue, 11 May 2021 20:34:45 +0200 +Subject: Fix ftbfs on Fedora 34 +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +error: ordered comparison of pointer with integer zero (‘TQListViewItem*’ and ‘int’) + +Signed-off-by: François Andriot <[email protected]> +--- + src/torkview.cpp | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/torkview.cpp b/src/torkview.cpp +index 1dd8b5d..ce32aea 100644 +--- a/src/torkview.cpp ++++ b/src/torkview.cpp +@@ -1312,7 +1312,7 @@ void torkView::activeServersUpdated( const TQStringList &servers) + { + if ((*it).isEmpty()) + continue; +- if ( (tm = serverList->findItem((*it),1)) > 0){ ++ if ( (tm = serverList->findItem((*it),1)) != NULL){ + tm->setPixmap(0,TQPixmap(SmallIcon("tork_green"))); + }else{ + tm = new TQListViewItem(serverList, (*it)); +-- +cgit v1.2.1 + |