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

List:       kde-commits
Subject:    [Konversation] 9780203: Compatibility with QT 3.0.x
From:       Dario Abatianni <eisfuchs () tigress ! com>
Date:       2010-07-01 13:27:08
Message-ID: 20100701132708.4EF3ABB551C () projects ! kde ! org
[Download RAW message or body]

commit 9780203893a9d82d798a305d4ffde3d9f4b58e6c
Author: Dario Abatianni <eisfuchs@tigress.com>
Date:   Fri Dec 5 17:06:18 2003 +0000

    Compatibility with QT 3.0.x
    
    svn path=/trunk/kdeextragear-2/konversation/; revision=271393

diff --git a/konversation/channellistpanel.cpp b/konversation/channellistpanel.cpp
index ad7028f..96715a0 100644
--- a/konversation/channellistpanel.cpp
+++ b/konversation/channellistpanel.cpp
@@ -446,8 +446,12 @@ void ChannelListPanel::contextMenu (KListView* /* l */, QListViewItem* i, const
 
       // Replace all spaces with %20 in href
       href.replace(QRegExp(" "),"%20");
+#if QT_VERSION >= 0x030100
       href.replace("&","&&");
-      
+#else
+      href.replace(QRegExp("&"),"&&");
+#endif
+
       // next search begins right after the link
       pos+=url.length();
       
[prev in list] [next in list] [prev in thread] [next in thread] 

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