qt: status WalletModel::Aborted is no longer used

Aborting transactions happens in the GUI now as it should,
not the backend.
This commit is contained in:
Wladimir J. van der Laan
2013-12-16 09:46:55 +01:00
parent ca2c83da50
commit 4a61c39456
2 changed files with 3 additions and 5 deletions

View File

@@ -452,9 +452,8 @@ void SendCoinsDialog::processSendCoinsReturn(const WalletModel::SendCoinsReturn
msgParams.first = tr("The transaction was rejected! This might happen if some of the coins in your wallet were already spent, such as if you used a copy of wallet.dat and coins were spent in the copy but not marked as spent here.");
msgParams.second = CClientUIInterface::MSG_ERROR;
break;
// OK and Aborted are included to prevent a compiler warning.
// included to prevent a compiler warning.
case WalletModel::OK:
case WalletModel::Aborted:
default:
return;
}