Commit 8388a02c authored by Jakob Leben's avatar Jakob Leben

Qt: it's Qt::Key_Backspace not Qt::Key_Back

parent 53de5bb9
...@@ -300,7 +300,7 @@ bool StandardPLPanel::eventFilter ( QObject * watched, QEvent * event ) ...@@ -300,7 +300,7 @@ bool StandardPLPanel::eventFilter ( QObject * watched, QEvent * event )
{ {
QKeyEvent *keyEvent = static_cast<QKeyEvent*>(event); QKeyEvent *keyEvent = static_cast<QKeyEvent*>(event);
if( keyEvent->key() == Qt::Key_Delete || if( keyEvent->key() == Qt::Key_Delete ||
keyEvent->key() == Qt::Key_Back ) keyEvent->key() == Qt::Key_Backspace )
{ {
deleteSelection(); deleteSelection();
return true; return true;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment