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

List:       kde-commits
Subject:    [Konversation] 84c4875: Compatibility
From:       Dario Abatianni <eisfuchs () tigress ! com>
Date:       2010-07-01 13:27:21
Message-ID: 20100701132721.853E2BB55B1 () projects ! kde ! org
[Download RAW message or body]

commit 84c487531737bb7a32a0f092dae890e122a31e34
Author: Dario Abatianni <eisfuchs@tigress.com>
Date:   Sun Feb 8 20:23:38 2004 +0000

    Compatibility
    
    svn path=/trunk/kdeextragear-2/konversation/; revision=286188

diff --git a/konversation/ircinput.cpp b/konversation/ircinput.cpp
index 30591ac..05c8d62 100644
--- a/konversation/ircinput.cpp
+++ b/konversation/ircinput.cpp
@@ -149,8 +149,12 @@ bool IRCInput::eventFilter(QObject *object,QEvent *event)
         case Key_V:
         {
             if ( keyEvent->state() & ControlButton ) {
+#if QT_VERSION >= 0x030100
                 insert( kapp->clipboard()->text( QClipboard::Clipboard ) );
-                return true;
+#else
+                insert( kapp->clipboard()->text() );
+#endif
+               return true;
             }
         }
         break;
[prev in list] [next in list] [prev in thread] [next in thread] 

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