Skip to content

Commit

Permalink
[GUI] Explicit cast from quint32 to bool in filterAcceptsRow
Browse files Browse the repository at this point in the history
  • Loading branch information
random-zebra committed Mar 15, 2020
1 parent e1585f7 commit 359f70e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/qt/transactionfilterproxy.cpp
Expand Up @@ -46,7 +46,7 @@ bool TransactionFilterProxy::filterAcceptsRow(int sourceRow, const QModelIndex&
return false;
if (fHideOrphans && isOrphan(status, type))
return false;
if (!(TYPE(type) & typeFilter))
if (!(bool)(TYPE(type) & typeFilter))
return false;
if (involvesWatchAddress && watchOnlyFilter == WatchOnlyFilter_No)
return false;
Expand Down Expand Up @@ -173,4 +173,4 @@ bool TransactionFilterProxy::isColdStake(int type) const {
QModelIndex index = sourceModel()->index(sourceRow, 0, sourceParent);
return index.data(index, role);
}
*/
*/

0 comments on commit 359f70e

Please sign in to comment.