Ticket #3636: translate-keypresses-debug.diff
File translate-keypresses-debug.diff, 1.9 KB (added by , 17 years ago) |
---|
-
mythtv/libs/libmythtv/tv_play.cpp
2183 2183 bool redisplayBrowseInfo = false; 2184 2184 QStringList actions; 2185 2185 2186 VERBOSE(VB_IMPORTANT, LOC + "ProcessKeypress() ignoreKeys: "<<ignoreKeys); 2187 2186 2188 if (ignoreKeys) 2187 2189 { 2188 2190 if (!gContext->GetMainWindow()->TranslateKeyPress( -
mythtv/libs/libmythui/mythmainwindow.cpp
729 729 d->exitingtomain = true; 730 730 d->exitmenucallback = d->jumpMap[keynum]->callback; 731 731 QApplication::postEvent(this, new ExitToMainMenuEvent()); 732 VERBOSE(VB_IMPORTANT, QString("Translated keypress (JumpPoint)\n\tcontext: %1\n\tkeynum: %2\n\tactions: '%3'\n\tallowJumps: %4").arg(context).arg(keynum).arg(actions.join("' '")).arg(allowJumps)); 732 733 return false; 733 734 } 734 735 … … 737 738 if (d->keyContexts[context]) 738 739 { 739 740 if (d->keyContexts[context]->GetMapping(keynum, actions)) 741 { 742 VERBOSE(VB_IMPORTANT, QString("Translated keypress (context)\n\tcontext: %1\n\tkeynum: %2\n\tactions: '%3'\n\tallowJumps: %4").arg(context).arg(keynum).arg(actions.join("' '")).arg(allowJumps)); 740 743 retval = true; 744 } 741 745 } 742 746 743 747 if (context != "Global" && 744 748 d->keyContexts["Global"]->GetMapping(keynum, actions)) 745 749 { 750 VERBOSE(VB_IMPORTANT, QString("Translated keypress (!context)\n\tcontext: %1\n\tkeynum: %2\n\tactions: '%3'\n\tallowJumps: %4").arg(context).arg(keynum).arg(actions.join("' '")).arg(allowJumps)); 746 751 retval = true; 747 752 } 748 753 749 754 return retval; 750 755 } 751 756