Fix Qt test broken by #22219
Fix Qt test broken by #22219

It looks like this should have been caught by CI but perhaps there was a
conflict with a recently merged PR. Failure reported by fanquake <fanquake@gmail.com>
https://github.com/bitcoin/bitcoin/pull/22219#issuecomment-920496509

mruddy/bitcoin,ajtowns/bitcoin,fujicoin/fujicoin,GroestlCoin/GroestlCoin,kallewoof/bitcoin,GroestlCoin/bitcoin,sstone/bitcoin,pataquets/namecoin-core,particl/particl-core,bitcoinsSG/bitcoin,bitcoin/bitcoin,AkioNak/bitcoin,andreaskern/bitcoin,jlopp/statoshi,jamesob/bitcoin,sstone/bitcoin,GroestlCoin/bitcoin,jamesob/bitcoin,mm-s/bitcoin,particl/particl-core,jamesob/bitcoin,mm-s/bitcoin,andreaskern/bitcoin,GroestlCoin/bitcoin,domob1812/namecore,achow101/bitcoin,achow101/bitcoin,achow101/bitcoin,jambolo/bitcoin,fanquake/bitcoin,bitcoinknots/bitcoin,bitcoinsSG/bitcoin,instagibbs/bitcoin,MarcoFalke/bitcoin,sipsorcery/bitcoin,jambolo/bitcoin,dscotese/bitcoin,fujicoin/fujicoin,GroestlCoin/GroestlCoin,tecnovert/particl-core,dscotese/bitcoin,pataquets/namecoin-core,sstone/bitcoin,namecoin/namecore,achow101/bitcoin,pataquets/namecoin-core,GroestlCoin/GroestlCoin,fanquake/bitcoin,dscotese/bitcoin,AkioNak/bitcoin,jambolo/bitcoin,domob1812/namecore,lateminer/bitcoin,GroestlCoin/bitcoin,domob1812/bitcoin,namecoin/namecore,GroestlCoin/bitcoin,domob1812/namecore,bitcoinsSG/bitcoin,domob1812/namecore,AkioNak/bitcoin,lateminer/bitcoin,anditto/bitcoin,Xekyo/bitcoin,andreaskern/bitcoin,prusnak/bitcoin,domob1812/bitcoin,jambolo/bitcoin,ajtowns/bitcoin,instagibbs/bitcoin,GroestlCoin/GroestlCoin,andreaskern/bitcoin,lateminer/bitcoin,bitcoinsSG/bitcoin,domob1812/bitcoin,jamesob/bitcoin,bitcoin/bitcoin,AkioNak/bitcoin,sipsorcery/bitcoin,mruddy/bitcoin,mruddy/bitcoin,MarcoFalke/bitcoin,achow101/bitcoin,mm-s/bitcoin,instagibbs/bitcoin,achow101/bitcoin,mm-s/bitcoin,ajtowns/bitcoin,MarcoFalke/bitcoin,sstone/bitcoin,bitcoinknots/bitcoin,domob1812/bitcoin,namecoin/namecoin-core,prusnak/bitcoin,namecoin/namecore,fanquake/bitcoin,mruddy/bitcoin,anditto/bitcoin,bitcoinknots/bitcoin,fujicoin/fujicoin,dscotese/bitcoin,dscotese/bitcoin,sipsorcery/bitcoin,sipsorcery/bitcoin,sstone/bitcoin,lateminer/bitcoin,tecnovert/particl-core,domob1812/bitcoin,bitcoinsSG/bitcoin,ajtowns/bitcoin,jambolo/bitcoin,domob1812/namecore,ajtowns/bitcoin,kallewoof/bitcoin,bitcoin/bitcoin,namecoin/namecoin-core,sipsorcery/bitcoin,pataquets/namecoin-core,prusnak/bitcoin,namecoin/namecoin-core,dscotese/bitcoin,fujicoin/fujicoin,sipsorcery/bitcoin,prusnak/bitcoin,GroestlCoin/GroestlCoin,namecoin/namecoin-core,anditto/bitcoin,Xekyo/bitcoin,MarcoFalke/bitcoin,jlopp/statoshi,bitcoin/bitcoin,bitcoinsSG/bitcoin,jambolo/bitcoin,instagibbs/bitcoin,lateminer/bitcoin,kallewoof/bitcoin,namecoin/namecore,AkioNak/bitcoin,jlopp/statoshi,domob1812/namecore,ajtowns/bitcoin,kallewoof/bitcoin,tecnovert/particl-core,anditto/bitcoin,pataquets/namecoin-core,namecoin/namecoin-core,namecoin/namecore,mruddy/bitcoin,Xekyo/bitcoin,GroestlCoin/bitcoin,bitcoin/bitcoin,prusnak/bitcoin,andreaskern/bitcoin,GroestlCoin/GroestlCoin,jlopp/statoshi,tecnovert/particl-core,particl/particl-core,fanquake/bitcoin,fujicoin/fujicoin,mruddy/bitcoin,namecoin/namecore,mm-s/bitcoin,Xekyo/bitcoin,pataquets/namecoin-core,lateminer/bitcoin,Xekyo/bitcoin,fanquake/bitcoin,MarcoFalke/bitcoin,kallewoof/bitcoin,MarcoFalke/bitcoin,instagibbs/bitcoin,particl/particl-core,andreaskern/bitcoin,jlopp/statoshi,sstone/bitcoin,mm-s/bitcoin,kallewoof/bitcoin,prusnak/bitcoin,particl/particl-core,bitcoin/bitcoin,anditto/bitcoin,fanquake/bitcoin,anditto/bitcoin,jamesob/bitcoin,AkioNak/bitcoin,jlopp/statoshi,domob1812/bitcoin,Xekyo/bitcoin,bitcoinknots/bitcoin,particl/particl-core,instagibbs/bitcoin,tecnovert/particl-core,namecoin/namecoin-core,bitcoinknots/bitcoin,fujicoin/fujicoin,jamesob/bitcoin,tecnovert/particl-core