diff options
author | fanquake <fanquake@gmail.com> | 2020-06-10 16:05:56 +0800 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2020-06-10 17:12:40 +0800 |
commit | 20e95313790c75631e44f9572a2f8767685c52d6 (patch) | |
tree | f3c24ccc08bb412f6634bc7f6bfd9d67c1ca8482 | |
parent | f8364df25070cea08f0fb5bbbb212f1ff72f9d21 (diff) | |
parent | 948f1134bc7b8ea1fb3c6b55f0cda16cc8dec126 (diff) | |
download | bitcoin-20e95313790c75631e44f9572a2f8767685c52d6.tar.xz |
Merge #19231: gui: add missing translation.h include to fix build
948f1134bc7b8ea1fb3c6b55f0cda16cc8dec126 gui: add missing translation.h include to fix build (fanquake)
Pull request description:
After #19176, building the gui on Bionic is failing with:
```bash
CXX qt/qt_libbitcoinqt_a-guiutil.o
qt/bitcoin.cpp: In function 'int GuiMain(int, char**)':
qt/bitcoin.cpp:460:35: error: 'Untranslated' was not declared in this scope
node->initError(strprintf(Untranslated("Error parsing command line arguments: %s\n"), error));
```
The merge commit also failed to compile with the same error:
https://travis-ci.org/github/bitcoin/bitcoin/jobs/696627543
ACKs for top commit:
hebasto:
ACK 948f1134bc7b8ea1fb3c6b55f0cda16cc8dec126, tested on Linux Mint 19.3 (x86_64): it fixes compiling error with the `--disable-wallet` configure option.
Tree-SHA512: db0197b110b3a7d05af2ceb29fbe9eeb6521d28f53b6267aa6d07a975886adb5c6485af79506ab6c66ed101e32292feeaff3707cdbc11432e5b97400953d5631
-rw-r--r-- | src/qt/bitcoin.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qt/bitcoin.cpp b/src/qt/bitcoin.cpp index 2cfc0f7836..47daf13e50 100644 --- a/src/qt/bitcoin.cpp +++ b/src/qt/bitcoin.cpp @@ -33,6 +33,7 @@ #include <ui_interface.h> #include <uint256.h> #include <util/system.h> +#include <util/translation.h> #include <util/threadnames.h> #include <validation.h> |