[Konsole-devel] [Bug 93178] the F12 key of vt420pc seems to not emit the esc-sequence any more
Waldo Bastian
bastian at kde.org
Fri Jan 7 17:02:33 UTC 2005
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=93178
bastian kde org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
------- Additional Comments From bastian kde org 2005-01-07 18:02 -------
CVS commit by waba:
Don't eat F12 unless configured to do so.
BUG: 93178
M +4 -4 kcheckaccelerators.cpp 1.11
--- kdelibs/kdecore/kcheckaccelerators.cpp #1.10:1.11
@ -78,9 +78,9 @
KCheckAccelerators::KCheckAccelerators( QObject* parent )
- : QObject( parent, "kapp_accel_filter" ), block( false ), drklash(0)
+ : QObject( parent, "kapp_accel_filter" ), key(0), block( false ), drklash(0)
{
parent->installEventFilter( this );
KConfigGroupSaver saver( KGlobal::config(), "Development" );
- QString sKey = KGlobal::config()->readEntry( "CheckAccelerators", "F12" ).stripWhiteSpace();
+ QString sKey = KGlobal::config()->readEntry( "CheckAccelerators" ).stripWhiteSpace();
if( !sKey.isEmpty() ) {
KShortcut cuts( sKey );
@ -97,5 +97,5 @ bool KCheckAccelerators::eventFilter( QO
return false;
if ( e->type() == QEvent::Accel ) {
- if ( static_cast<QKeyEvent *>(e)->key() == key ) {
+ if ( key && (static_cast<QKeyEvent *>(e)->key() == key) ) {
block = true;
checkAccelerators( false );
More information about the konsole-devel
mailing list