Remove direct bitcoin calls from qt/utilitydialog.cpp

This commit is contained in:
Russell Yanofsky
2017-04-17 14:40:41 -04:00
committed by John Newbery
parent 3d619e9d36
commit c2f672fb19
6 changed files with 16 additions and 6 deletions

View File

@@ -595,7 +595,7 @@ int main(int argc, char *argv[])
// Show help message immediately after parsing command-line options (for "-lang") and setting locale,
// but before showing splash screen.
if (HelpRequested(gArgs) || gArgs.IsArgSet("-version")) {
HelpMessageDialog help(nullptr, gArgs.IsArgSet("-version"));
HelpMessageDialog help(*node, nullptr, gArgs.IsArgSet("-version"));
help.showOrPrint();
return EXIT_SUCCESS;
}