diff options
author | Andrew Chow <achow101-github@achow101.com> | 2019-08-09 15:39:30 -0400 |
---|---|---|
committer | Andrew Chow <achow101-github@achow101.com> | 2019-08-09 15:47:37 -0400 |
commit | a2714a5c69f0b0506689af04c3e785f71ee0915d (patch) | |
tree | d0c6e99bacabc9078040fd2f8c9b467027616064 /src/qt/bitcoin.h | |
parent | e47e36cb4975b332a4d9552bc73b031ab8fd6ab1 (diff) |
Give QApplication dummy arguments
QApplication takes the command line arguments and parses them itself
for some built in command line arguments that it has. We don't want
any of those built in arguments, so instead give it dummy arguments.
Diffstat (limited to 'src/qt/bitcoin.h')
-rw-r--r-- | src/qt/bitcoin.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qt/bitcoin.h b/src/qt/bitcoin.h index 40537c1813..3869193a3a 100644 --- a/src/qt/bitcoin.h +++ b/src/qt/bitcoin.h @@ -56,7 +56,7 @@ class BitcoinApplication: public QApplication { Q_OBJECT public: - explicit BitcoinApplication(interfaces::Node& node, int &argc, char **argv); + explicit BitcoinApplication(interfaces::Node& node); ~BitcoinApplication(); #ifdef ENABLE_WALLET |