diff options
| author | Hennadii Stepanov <[email protected]> | 2020-02-09 18:59:14 +0200 |
|---|---|---|
| committer | Hennadii Stepanov <[email protected]> | 2020-02-09 18:59:14 +0200 |
| commit | ac57859e53167f4ff3da467b616b0902c93701a9 (patch) | |
| tree | 01462076ae296cef040cfedc303d787d59881202 /src | |
| parent | Merge #18062: gui: Fix unintialized WalletView::progressDialog (diff) | |
| download | discoin-ac57859e53167f4ff3da467b616b0902c93701a9.tar.xz discoin-ac57859e53167f4ff3da467b616b0902c93701a9.zip | |
qt: Fix deprecated QCharRef usage
Diffstat (limited to 'src')
| -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 e19833019..e4ffa6cd9 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(); } } |