Skip to content

Commit

Permalink
gui: add missing translation.h include to fix build
Browse files Browse the repository at this point in the history
After bitcoin#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
  • Loading branch information
fanquake authored and stackman27 committed Jul 4, 2020
1 parent 932524d commit f3896b1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/qt/bitcoin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
#include <noui.h>
#include <uint256.h>
#include <util/system.h>
#include <util/translation.h>
#include <util/threadnames.h>
#include <util/translation.h>
#include <validation.h>
Expand Down

0 comments on commit f3896b1

Please sign in to comment.