Commit 3341aff0 authored by Dirk Wilden's avatar Dirk Wilden

calling a plugin's keyReleaseEvent when the event was a releaseEvent works...

calling a plugin's keyReleaseEvent when the event was a releaseEvent works even better than calling a  keyPressEvent :)

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@4668 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 95f5839e
......@@ -138,7 +138,7 @@ void CoreWidget::keyReleaseEvent(QKeyEvent* _e) {
if (keyPlugin){
QKeyEvent* mappedEvent = new QKeyEvent(_e->type(),binding.key, binding.modifiers,
_e->text(), _e->isAutoRepeat(), _e->count() );
keyPlugin->slotKeyEvent(mappedEvent);
keyPlugin->slotKeyReleaseEvent(mappedEvent);
}
//if its not a multiUse key we are ready
......
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