From fa6f402bde146f92ed131e0c9c8e15a55e723307 Mon Sep 17 00:00:00 2001 From: Russell Yanofsky Date: Thu, 11 Jul 2019 18:20:44 -0400 Subject: Call node->initError instead of InitError from GUI code Avoids GUI code calling a node function, and having to live in the same process as g_ui_signals and uiInterface global variables. --- src/interfaces/node.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/interfaces/node.cpp') diff --git a/src/interfaces/node.cpp b/src/interfaces/node.cpp index 584d218db..fd2fb6531 100644 --- a/src/interfaces/node.cpp +++ b/src/interfaces/node.cpp @@ -54,6 +54,7 @@ class NodeImpl : public Node { public: NodeImpl() { m_interfaces.chain = MakeChain(); } + void initError(const std::string& message) override { InitError(message); } bool parseParameters(int argc, const char* const argv[], std::string& error) override { return gArgs.ParseParameters(argc, argv, error); -- cgit v1.2.3