diff options
author | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2022-04-16 15:26:45 +0200 |
---|---|---|
committer | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2022-05-21 16:57:31 +0200 |
commit | 252f363f2feff243cae47731d59dfa1b74dd4386 (patch) | |
tree | 4c4193c81db40e4fbcf7cf3bed0998c230a0c26c /src/qt/test | |
parent | d1b3dfb275fd98e37cfe8a0f7cea7d03595af2e8 (diff) | |
download | bitcoin-252f363f2feff243cae47731d59dfa1b74dd4386.tar.xz |
qt: Replace `QCoreApplication::quit()` with `QCoreApplication::exit(0)`
Qt 5:
- no behavior change
Qt 6:
- this change avoids sending a duplicated `QEvent::Quit`
Diffstat (limited to 'src/qt/test')
-rw-r--r-- | src/qt/test/apptests.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qt/test/apptests.cpp b/src/qt/test/apptests.cpp index 099ac5fcae..447df572d6 100644 --- a/src/qt/test/apptests.cpp +++ b/src/qt/test/apptests.cpp @@ -119,6 +119,6 @@ AppTests::HandleCallback::~HandleCallback() assert(it != callbacks.end()); callbacks.erase(it); if (callbacks.empty()) { - m_app_tests.m_app.quit(); + m_app_tests.m_app.exit(0); } } |