diff --git a/src/qt/forms/paperwalletdialog.ui b/src/qt/forms/paperwalletdialog.ui index 4b10c85d2..c55102e0a 100644 --- a/src/qt/forms/paperwalletdialog.ui +++ b/src/qt/forms/paperwalletdialog.ui @@ -13,7 +13,7 @@ Print Your Paper Wallets - + 524 @@ -29,7 +29,7 @@ true - + 47 @@ -62,7 +62,7 @@ :/icons/add:/icons/add - + 20 @@ -309,11 +309,6 @@ p, li { white-space: pre-wrap; } label_2 - - QRImageWidget - QLabel -
receiverequestdialog.h
-
VerticalLabel QLabel diff --git a/src/qt/utilitydialog.cpp b/src/qt/utilitydialog.cpp index e5dff8f96..cb52a7d2a 100644 --- a/src/qt/utilitydialog.cpp +++ b/src/qt/utilitydialog.cpp @@ -9,10 +9,13 @@ #include "ui_helpmessagedialog.h" #include "bitcoinunits.h" + +#ifdef ENABLE_WALLET #include "sendcoinsdialog.h" #include "sendcoinsentry.h" #include "coincontrol.h" #include "coincontroldialog.h" +#endif #include "optionsmodel.h" #include "bitcoingui.h" @@ -285,6 +288,7 @@ void PaperWalletDialog::on_printButton_clicked() painter.end(); +#ifdef ENABLE_WALLET QStringList formatted; WalletModelTransaction *tx; @@ -388,6 +392,7 @@ void PaperWalletDialog::on_printButton_clicked() QMessageBox::critical(this, tr("Send Coins"), tr("The transaction was rejected! This might happen if some of the coins in your wallet were already spent, such as if you used a copy of wallet.dat and coins were spent in the copy but not marked as spent here."), QMessageBox::Ok, QMessageBox::Ok); } delete tx; +#endif return; }