[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    branches/KDE/4.0/kdelibs/kdeui/widgets
From:       David Faure <faure () kde ! org>
Date:       2008-05-27 12:24:19
Message-ID: 1211891059.077092.20662.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 813326 by dfaure:

oops, this was just for testing that the fix worked indeed. ShortcutOverride is what we want here.


 M  +1 -1      ktextedit.cpp  


--- branches/KDE/4.0/kdelibs/kdeui/widgets/ktextedit.cpp #813325:813326
@@ -172,7 +172,7 @@
 
 bool KTextEdit::event(QEvent* ev)
 {
-    if (ev->type() == QEvent::KeyPress /*ShortcutOverride*/) {
+    if (ev->type() == QEvent::ShortcutOverride) {
         QKeyEvent *e = static_cast<QKeyEvent *>( ev );
         if (d->overrideShortcut(e)) {
             e->accept();
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic