Fix msvc c4800: explicit cast to bool
[novacoin.git] / src / qt / sendcoinsdialog.cpp
index b1b59eb..e40205b 100644 (file)
@@ -2,6 +2,7 @@
 #include "ui_sendcoinsdialog.h"
 
 #include "init.h"
+#include "base58.h"
 #include "walletmodel.h"
 #include "addresstablemodel.h"
 #include "addressbookpage.h"
@@ -81,8 +82,7 @@ SendCoinsDialog::SendCoinsDialog(QWidget *parent) :
     fNewRecipientAllowed = true;
 
     coinControl = new CoinControlDialog(0);
-    QAction *updateLabes = new QAction(coinControl);
-    connect(updateLabes, SIGNAL(close()), this, SLOT(coinControlUpdateLabels()));
+    connect(coinControl, SIGNAL(beforeClose()), this, SLOT(coinControlUpdateLabels()));
 }
 
 void SendCoinsDialog::setModel(WalletModel *model)