diff options
author | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2020-02-09 18:59:14 +0200 |
---|---|---|
committer | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2020-02-09 18:59:14 +0200 |
commit | ac57859e53167f4ff3da467b616b0902c93701a9 (patch) | |
tree | 01462076ae296cef040cfedc303d787d59881202 /src/qt/splashscreen.cpp | |
parent | 23fab1a3dfe6f308880197dbe2bd7ce70866f13c (diff) |
qt: Fix deprecated QCharRef usage
Diffstat (limited to 'src/qt/splashscreen.cpp')
-rw-r--r-- | src/qt/splashscreen.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qt/splashscreen.cpp b/src/qt/splashscreen.cpp index e19833019d..e4ffa6cd9a 100644 --- a/src/qt/splashscreen.cpp +++ b/src/qt/splashscreen.cpp @@ -137,7 +137,7 @@ SplashScreen::~SplashScreen() bool SplashScreen::eventFilter(QObject * obj, QEvent * ev) { if (ev->type() == QEvent::KeyPress) { QKeyEvent *keyEvent = static_cast<QKeyEvent *>(ev); - if(keyEvent->text()[0] == 'q') { + if (keyEvent->key() == Qt::Key_Q) { m_node.startShutdown(); } } |