Page MenuHomePhabricator

[backport#14783] qt: Call noui_connect to prevent boost::signals2::no_slots_error in early calls to InitWarning
ClosedPublic

Authored by majcosta on Apr 21 2020, 04:32.

Details

Summary

Merge bitcoin#14783: gui: Fix boost::signals2::no_slots_error in early calls to InitWarning

6bbdb20 squashme: connect thru node interface (João Barbosa)
a0f8df3 qt: Call noui_connect to prevent boost::signals2::no_slots_error in early calls to InitWarning (João Barbosa)

Pull request description:

Adding the following to bitcoin.conf

[xxx]
disablewallet=1

And running bitcoin-qt gives:

libc++abi.dylib: terminating with uncaught exception of type boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::signals2::no_slots_error> >: boost::signals2::no_slots_error

Fixes regression in bitcoin#14708.


This is a backport of Core PR14783

Test Plan
ninja check
BITCOIND={full_path_to_build_dir}/src/qt/bitcoin-qt ./test/functional/test_runner.py feature_config_args feature_includeconf

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

[Bot Message]
One or more PR numbers were detected in the summary.
Links to those PRs have been inserted into the summary for reference.

Fabien requested changes to this revision.Apr 21 2020, 07:56
Fabien added a subscriber: Fabien.
Fabien added inline comments.
src/qt/bitcoingui.cpp
16 ↗(On Diff #18992)

The removal of #include <noui.h> is missing.

This revision now requires changes to proceed.Apr 21 2020, 07:56

removed noui.h from bitcoingui.cpp

This revision is now accepted and ready to land.Apr 21 2020, 09:12