Browse Source

Remove ui_interface ThreadSafeAskFee residue

Missed these in ca2c83d (#3415).
0.10
Wladimir J. van der Laan 11 years ago
parent
commit
636a42bd0e
No known key found for this signature in database
GPG Key ID: 74810B012346C9A6
  1. 6
      src/noui.cpp
  2. 3
      src/ui_interface.h

6
src/noui.cpp

@ -34,11 +34,6 @@ static bool noui_ThreadSafeMessageBox(const std::string& message, const std::str
return false; return false;
} }
static bool noui_ThreadSafeAskFee(int64_t /*nFeeRequired*/)
{
return true;
}
static void noui_InitMessage(const std::string &message) static void noui_InitMessage(const std::string &message)
{ {
LogPrintf("init message: %s\n", message.c_str()); LogPrintf("init message: %s\n", message.c_str());
@ -48,6 +43,5 @@ void noui_connect()
{ {
// Connect bitcoind signal handlers // Connect bitcoind signal handlers
uiInterface.ThreadSafeMessageBox.connect(noui_ThreadSafeMessageBox); uiInterface.ThreadSafeMessageBox.connect(noui_ThreadSafeMessageBox);
uiInterface.ThreadSafeAskFee.connect(noui_ThreadSafeAskFee);
uiInterface.InitMessage.connect(noui_InitMessage); uiInterface.InitMessage.connect(noui_InitMessage);
} }

3
src/ui_interface.h

@ -72,9 +72,6 @@ public:
/** Show message box. */ /** Show message box. */
boost::signals2::signal<bool (const std::string& message, const std::string& caption, unsigned int style), boost::signals2::last_value<bool> > ThreadSafeMessageBox; boost::signals2::signal<bool (const std::string& message, const std::string& caption, unsigned int style), boost::signals2::last_value<bool> > ThreadSafeMessageBox;
/** Ask the user whether they want to pay a fee or not. */
boost::signals2::signal<bool (int64_t nFeeRequired), boost::signals2::last_value<bool> > ThreadSafeAskFee;
/** Progress message during initialization. */ /** Progress message during initialization. */
boost::signals2::signal<void (const std::string &message)> InitMessage; boost::signals2::signal<void (const std::string &message)> InitMessage;

Loading…
Cancel
Save