mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-15 12:51:00 +02:00
qt: Fix deprecated QCharRef usage
This commit is contained in:
parent
23fab1a3df
commit
ac57859e53
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue