diff options
author | François Andriot <francois.andriot@free.fr> | 2021-05-11 20:34:45 +0200 |
---|---|---|
committer | François Andriot <francois.andriot@free.fr> | 2021-05-11 20:34:45 +0200 |
commit | 7576a4bfe86835552ede116488e70baae64df9e8 (patch) | |
tree | 69efd35e890cca210febbe02175d0b3ee41dd6f5 | |
parent | e39e316d008b34d56b5a4bb2d04ada23b0d9322e (diff) | |
download | tork-7576a4bfe86835552ede116488e70baae64df9e8.tar.gz tork-7576a4bfe86835552ede116488e70baae64df9e8.zip |
Fix ftbfs on Fedora 34
error: ordered comparison of pointer with integer zero (‘TQListViewItem*’ and ‘int’)
Signed-off-by: François Andriot <francois.andriot@free.fr>
-rw-r--r-- | src/torkview.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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)); |