diff options
author | Russell Yanofsky <russ@yanofsky.org> | 2017-03-27 14:34:38 -0400 |
---|---|---|
committer | Russell Yanofsky <russ@yanofsky.org> | 2017-03-27 14:34:38 -0400 |
commit | e9a64615c8e18692a775765787f404266767260b (patch) | |
tree | 4513ecb574ca9bdb3526cfea8713b068a5035bb5 /src/qt/macdockiconhandler.h | |
parent | 919aaf6508557439ab859c25dae86998a9bed12f (diff) |
Make qt wallet test compatible with qt4
Unlike Qt5, the Qt4 signals implementation doesn't allow a signal to be
directly connected to a c++ lambda expression. Work around this by defining a
Callback QObject with a virtual method that can forward calls to a closure.
The Qt4 error was reported by Patrick Strateman <patrick.strateman@gmail.com>
in https://github.com/bitcoin/bitcoin/pull/10039#issuecomment-289248763
Diffstat (limited to 'src/qt/macdockiconhandler.h')
0 files changed, 0 insertions, 0 deletions