Skip to content

Commit 359f70e

Browse files
committed
[GUI] Explicit cast from quint32 to bool in filterAcceptsRow
1 parent e1585f7 commit 359f70e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/qt/transactionfilterproxy.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ bool TransactionFilterProxy::filterAcceptsRow(int sourceRow, const QModelIndex&
4646
return false;
4747
if (fHideOrphans && isOrphan(status, type))
4848
return false;
49-
if (!(TYPE(type) & typeFilter))
49+
if (!(bool)(TYPE(type) & typeFilter))
5050
return false;
5151
if (involvesWatchAddress && watchOnlyFilter == WatchOnlyFilter_No)
5252
return false;
@@ -173,4 +173,4 @@ bool TransactionFilterProxy::isColdStake(int type) const {
173173
QModelIndex index = sourceModel()->index(sourceRow, 0, sourceParent);
174174
return index.data(index, role);
175175
}
176-
*/
176+
*/

0 commit comments

Comments
 (0)