aboutsummaryrefslogtreecommitdiff
path: root/src/qt/sendcoinsdialog.cpp
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2013-11-10 19:19:30 +0100
committerPieter Wuille <pieter.wuille@gmail.com>2013-11-10 19:21:03 +0100
commitf76c122e2eac8ef66f69d142231bd33c88a24c50 (patch)
treed2f910390e55aef857023812fbdaefdd66cd99ff /src/qt/sendcoinsdialog.cpp
parent7c4c207be8420d394a5abc4368d1bb69ad4f8067 (diff)
parent51ed9ec971614aebdbfbd9527aba365dd0afd437 (diff)
Merge pull request #2767
51ed9ec Cleanup code using forward declarations. (Brandon Dahler)
Diffstat (limited to 'src/qt/sendcoinsdialog.cpp')
-rw-r--r--src/qt/sendcoinsdialog.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/qt/sendcoinsdialog.cpp b/src/qt/sendcoinsdialog.cpp
index 2490c64835..b9c5eb08d6 100644
--- a/src/qt/sendcoinsdialog.cpp
+++ b/src/qt/sendcoinsdialog.cpp
@@ -6,16 +6,17 @@
#include "ui_sendcoinsdialog.h"
#include "bitcoinunits.h"
+#include "guiutil.h"
#include "optionsmodel.h"
#include "sendcoinsentry.h"
-#include "guiutil.h"
-#include "askpassphrasedialog.h"
+#include "walletmodel.h"
+
#include "base58.h"
#include "ui_interface.h"
#include <QMessageBox>
-#include <QTextDocument>
#include <QScrollBar>
+#include <QTextDocument>
SendCoinsDialog::SendCoinsDialog(QWidget *parent) :
QDialog(parent),
@@ -324,7 +325,7 @@ bool SendCoinsDialog::handlePaymentRequest(const SendCoinsRecipient &rv)
if (rv.paymentRequest.IsInitialized()) {
// Expired payment request?
const payments::PaymentDetails& details = rv.paymentRequest.getDetails();
- if (details.has_expires() && (int64)details.expires() < GetTime())
+ if (details.has_expires() && (int64_t)details.expires() < GetTime())
{
emit message(strSendCoins, tr("Payment request expired"),
CClientUIInterface::MSG_WARNING);