You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tde-packaging/arch/tde-extra/tde-tork/bp000-7576a4bf.diff

32 lines
1.0 KiB

From 7576a4bfe86835552ede116488e70baae64df9e8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Fran=C3=A7ois=20Andriot?= <francois.andriot@free.fr>
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 <francois.andriot@free.fr>
---
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