Merge pull request #3415
4a61c39qt: status WalletModel::Aborted is no longer used (Wladimir J. van der Laan)ca2c83dRemove unused ThreadSafeAskFee from ui_interface (Wladimir J. van der Laan)37e67d3Remove unused ThreadSafeHandleURI from ui_interface (Wladimir J. van der Laan)
This commit is contained in:
@@ -726,19 +726,6 @@ void BitcoinGUI::closeEvent(QCloseEvent *event)
|
||||
QMainWindow::closeEvent(event);
|
||||
}
|
||||
|
||||
void BitcoinGUI::askFee(qint64 nFeeRequired, bool *payFee)
|
||||
{
|
||||
if (!clientModel || !clientModel->getOptionsModel())
|
||||
return;
|
||||
|
||||
QString strMessage = tr("This transaction is over the size limit. You can still send it for a fee of %1, "
|
||||
"which goes to the nodes that process your transaction and helps to support the network. "
|
||||
"Do you want to pay the fee?").arg(BitcoinUnits::formatWithUnit(clientModel->getOptionsModel()->getDisplayUnit(), nFeeRequired));
|
||||
QMessageBox::StandardButton retval = QMessageBox::question(this, tr("Confirm transaction fee"), strMessage,
|
||||
QMessageBox::Yes | QMessageBox::Cancel, QMessageBox::Yes);
|
||||
*payFee = (retval == QMessageBox::Yes);
|
||||
}
|
||||
|
||||
void BitcoinGUI::incomingTransaction(const QString& date, int unit, qint64 amount, const QString& type, const QString& address)
|
||||
{
|
||||
// On new transaction, make an info balloon
|
||||
|
||||
Reference in New Issue
Block a user