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

List:       kde-commits
Subject:    [Konversation] 93a1258: - Let Ctrl+V do what I expect.
From:       Frerich Raabe <raabe () kde ! org>
Date:       2010-07-01 13:27:21
Message-ID: 20100701132721.31E95BB55AB () projects ! kde ! org
[Download RAW message or body]

commit 93a1258e3980cfb080957834ca3b95251fda9370
Author: Frerich Raabe <raabe@kde.org>
Date:   Sun Feb 8 17:16:40 2004 +0000

    - Let Ctrl+V do what I expect.
    
    svn path=/trunk/kdeextragear-2/konversation/; revision=286142

diff --git a/konversation/ircinput.cpp b/konversation/ircinput.cpp
index cce6cb8..541c472 100644
--- a/konversation/ircinput.cpp
+++ b/konversation/ircinput.cpp
@@ -146,6 +146,15 @@ bool IRCInput::eventFilter(QObject *object,QEvent *event)
         }
         break;
 
+        case Key_V:
+        {
+            if ( keyEvent->state() & ControlButton ) {
+                paste();
+            }
+            return true;
+        }
+        break;
+
         default:
           // Check if the keystroke actually produced text. If not it was just a qualifier.
           if(!keyEvent->text().isEmpty())
[prev in list] [next in list] [prev in thread] [next in thread] 

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