Fix for printable characters
This commit is contained in:
parent
a6313b45f5
commit
626bbf0909
|
@ -377,9 +377,9 @@ bool SearchListView::eventFilter(QObject* obj, QEvent* event)
|
|||
}
|
||||
|
||||
// Printable characters go to the search box
|
||||
char key = keyEvent->text().toUtf8().constData()[0];
|
||||
QChar key = keyEvent->text().toUtf8().at(0);
|
||||
|
||||
if(isprint(key))
|
||||
if(key.isPrint())
|
||||
return QWidget::eventFilter(obj, event);
|
||||
|
||||
// By default, all other keys are forwarded to the search view
|
||||
|
|
Loading…
Reference in New Issue