qt: Replace stray tfm::format to cerr with qWarning

GUI warnings should go to the log, not to the console (which may not be
connected at all).
This commit is contained in:
laanwj 2025-04-24 12:09:33 +02:00
parent 458720e5e9
commit edd46566bd

View file

@ -468,7 +468,7 @@ bool SendCoinsDialog::signWithExternalSigner(PartiallySignedTransaction& psbtx,
return false; return false;
} }
if (err) { if (err) {
tfm::format(std::cerr, "Failed to sign PSBT"); qWarning() << "Failed to sign PSBT";
processSendCoinsReturn(WalletModel::TransactionCreationFailed); processSendCoinsReturn(WalletModel::TransactionCreationFailed);
return false; return false;
} }