mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-12-17 16:14:44 +01:00
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:
@@ -74,22 +74,6 @@ static bool ThreadSafeMessageBox(const std::string& message, const std::string&
|
||||
}
|
||||
}
|
||||
|
||||
static bool ThreadSafeAskFee(int64_t nFeeRequired)
|
||||
{
|
||||
if(!guiref)
|
||||
return false;
|
||||
if(nFeeRequired < CTransaction::nMinTxFee || nFeeRequired <= nTransactionFee || fDaemon)
|
||||
return true;
|
||||
|
||||
bool payFee = false;
|
||||
|
||||
QMetaObject::invokeMethod(guiref, "askFee", GUIUtil::blockingGUIThreadConnection(),
|
||||
Q_ARG(qint64, nFeeRequired),
|
||||
Q_ARG(bool*, &payFee));
|
||||
|
||||
return payFee;
|
||||
}
|
||||
|
||||
static void InitMessage(const std::string &message)
|
||||
{
|
||||
if(splashref)
|
||||
@@ -262,7 +246,6 @@ int main(int argc, char *argv[])
|
||||
|
||||
// Subscribe to global signals from core
|
||||
uiInterface.ThreadSafeMessageBox.connect(ThreadSafeMessageBox);
|
||||
uiInterface.ThreadSafeAskFee.connect(ThreadSafeAskFee);
|
||||
uiInterface.InitMessage.connect(InitMessage);
|
||||
uiInterface.Translate.connect(Translate);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user