diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2012-04-16 14:56:45 +0200 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2012-04-17 20:03:42 +0200 |
commit | 6b6aaa1698838278a547f16a15e635bd58ec867d (patch) | |
tree | 62a79e33a866c2a92f548cecb6148c7339f8beaf /src/qt | |
parent | ccd65d426156c3d5b7a8f1123210decd1f06fe42 (diff) |
Further reduce header dependencies
This commit removes the dependency of serialize.h on PROTOCOL_VERSION,
and makes this parameter required instead of implicit. This is much saner,
as it makes the places where changing a version number can have an
influence obvious.
Diffstat (limited to 'src/qt')
-rw-r--r-- | src/qt/bitcoin.cpp | 1 | ||||
-rw-r--r-- | src/qt/messagepage.cpp | 2 | ||||
-rw-r--r-- | src/qt/qtipcserver.cpp | 1 | ||||
-rw-r--r-- | src/qt/walletmodel.cpp | 1 |
4 files changed, 4 insertions, 1 deletions
diff --git a/src/qt/bitcoin.cpp b/src/qt/bitcoin.cpp index dfcd2af3fc..c7830871b5 100644 --- a/src/qt/bitcoin.cpp +++ b/src/qt/bitcoin.cpp @@ -8,6 +8,7 @@ #include "guiutil.h" #include "init.h" +#include "ui_interface.h" #include "qtipcserver.h" #include <QApplication> diff --git a/src/qt/messagepage.cpp b/src/qt/messagepage.cpp index 46a0cbae24..18bb64fe6c 100644 --- a/src/qt/messagepage.cpp +++ b/src/qt/messagepage.cpp @@ -91,7 +91,7 @@ void MessagePage::on_signMessage_clicked() return; } - CDataStream ss(SER_GETHASH); + CDataStream ss(SER_GETHASH, 0); ss << strMessageMagic; ss << ui->message->document()->toPlainText().toStdString(); diff --git a/src/qt/qtipcserver.cpp b/src/qt/qtipcserver.cpp index f7bccaaf02..102ac0ff4e 100644 --- a/src/qt/qtipcserver.cpp +++ b/src/qt/qtipcserver.cpp @@ -7,6 +7,7 @@ #include <boost/tokenizer.hpp> #include <boost/date_time/posix_time/posix_time.hpp> +#include "ui_interface.h" #include "util.h" #include "qtipcserver.h" diff --git a/src/qt/walletmodel.cpp b/src/qt/walletmodel.cpp index e23a2bb097..7a83f6cefb 100644 --- a/src/qt/walletmodel.cpp +++ b/src/qt/walletmodel.cpp @@ -4,6 +4,7 @@ #include "addresstablemodel.h" #include "transactiontablemodel.h" +#include "ui_interface.h" #include "wallet.h" #include "walletdb.h" // for BackupWallet |