aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorfanquake <fanquake@gmail.com>2020-06-10 10:08:16 +0800
committerfanquake <fanquake@gmail.com>2020-06-10 10:08:16 +0800
commit948f1134bc7b8ea1fb3c6b55f0cda16cc8dec126 (patch)
treef3c24ccc08bb412f6634bc7f6bfd9d67c1ca8482 /src
parentf8364df25070cea08f0fb5bbbb212f1ff72f9d21 (diff)
downloadbitcoin-948f1134bc7b8ea1fb3c6b55f0cda16cc8dec126.tar.xz
gui: add missing translation.h include to fix build
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
Diffstat (limited to 'src')
-rw-r--r--src/qt/bitcoin.cpp1
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>