aboutsummaryrefslogtreecommitdiff
path: root/src/qt
diff options
context:
space:
mode:
authorHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2020-02-09 18:59:14 +0200
committerHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2020-02-09 18:59:14 +0200
commitac57859e53167f4ff3da467b616b0902c93701a9 (patch)
tree01462076ae296cef040cfedc303d787d59881202 /src/qt
parent23fab1a3dfe6f308880197dbe2bd7ce70866f13c (diff)
downloadbitcoin-ac57859e53167f4ff3da467b616b0902c93701a9.tar.xz
qt: Fix deprecated QCharRef usage
Diffstat (limited to 'src/qt')
-rw-r--r--src/qt/splashscreen.cpp2
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();
}
}