Skip to content

Commit 52a5e3f

Browse files
committed
multiprocess: add new bitcoin-qt init implementation to qml-gui
This incorporates the new bitcoin-qt init implementation into the qml-gui.
1 parent 9dda9c0 commit 52a5e3f

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/qml/bitcoin.cpp

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -102,15 +102,12 @@ int QmlGuiMain(int argc, char* argv[])
102102

103103
auto handler_message_box = ::uiInterface.ThreadSafeMessageBox_connect(InitErrorMessageBox);
104104

105-
NodeContext node_context;
106-
int unused_exit_status;
107-
std::unique_ptr<interfaces::Init> init = interfaces::MakeNodeInit(node_context, argc, argv, unused_exit_status);
105+
std::unique_ptr<interfaces::Init> init = interfaces::MakeGuiInit(argc, argv);
108106

109107
SetupEnvironment();
110108
util::ThreadSetInternalName("main");
111109

112110
/// Parse command-line options. We do this after qt in order to show an error if there are problems parsing these.
113-
node_context.args = &gArgs;
114111
SetupServerArgs(gArgs);
115112
SetupUIArgs(gArgs);
116113
std::string error;

0 commit comments

Comments
 (0)