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 committed Jun 10, 2020
1 parent f8364df commit 948f113
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 @@ -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>

Expand Down

0 comments on commit 948f113

Please sign in to comment.