Skip to content
Snippets Groups Projects
Commit bdf50524 authored by Dirk Wilden's avatar Dirk Wilden
Browse files

removed debug code

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@3953 383ad7c9-94d9-4d36-a494-682f7c89f535
parent ce3bdd59
No related branches found
No related tags found
No related merge requests found
......@@ -443,13 +443,13 @@ CoreWidget::keyReleaseEvent(QKeyEvent* _e) {
/** Map Key Press Events to Plugins */
void
CoreWidget::mapKeyPressEvent(QKeyEvent* _e){
std::cerr << "keypress " << _e->key() << std::endl;
//find the first plugin which wants to handle that key
for (uint i=0; i < plugins_.size(); i++)
for (int k=0; k < plugins_[i].keys.count(); k++)
if ( plugins_[i].keys[k].key == _e->key()
&& plugins_[i].keys[k].modifiers == _e->modifiers() ){
std::cerr << "keypress " << plugins_[i].name.toStdString() << std::endl;
KeyInterface* keyPlugin = qobject_cast< KeyInterface * >(plugins_[i].plugin);
if (keyPlugin){
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment