mirror of
https://github.com/bitcoin/bitcoin.git
synced 2024-11-20 10:38:42 +01:00
qt: Fix deprecated QCharRef usage
This commit is contained in:
parent
23fab1a3df
commit
ac57859e53
@ -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();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user