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

List:       kde-commits
Subject:    [Konversation] 9a36308: - Don't swallow V and insert from the right
From:       Frerich Raabe <raabe () kde ! org>
Date:       2010-07-01 13:27:21
Message-ID: 20100701132721.660D4BB55AE () projects ! kde ! org
[Download RAW message or body]

commit 9a36308c2d836b4b804853f6b35161caa1233e77
Author: Frerich Raabe <raabe@kde.org>
Date:   Sun Feb 8 19:47:26 2004 +0000

    - Don't swallow V and insert from the right clipboard (the clipboard stuff
      is a little messy here)
    
    svn path=/trunk/kdeextragear-2/konversation/; revision=286171

diff --git a/konversation/ircinput.cpp b/konversation/ircinput.cpp
index 541c472..30591ac 100644
--- a/konversation/ircinput.cpp
+++ b/konversation/ircinput.cpp
@@ -149,9 +149,9 @@ bool IRCInput::eventFilter(QObject *object,QEvent *event)
         case Key_V:
         {
             if ( keyEvent->state() & ControlButton ) {
-                paste();
+                insert( kapp->clipboard()->text( QClipboard::Clipboard ) );
+                return true;
             }
-            return true;
         }
         break;
 
[prev in list] [next in list] [prev in thread] [next in thread] 

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