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

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

commit 6b7d9abb33976100f369bba25d3cd4c0e88b0f11
Author: Dario Abatianni <eisfuchs@tigress.com>
Date:   Fri Dec 5 17:01:46 2003 +0000

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

diff --git a/konversation/channellistpanel.cpp b/konversation/channellistpanel.cpp
index eca3432..ad7028f 100644
--- a/konversation/channellistpanel.cpp
+++ b/konversation/channellistpanel.cpp
@@ -467,9 +467,13 @@ void ChannelListPanel::contextMenu (KListView* /* l */, QListViewItem* i, const
   int selected = showURLmenu->exec(p);  
   if (selected!=-1) {
     QMenuItem* item = showURLmenu->findItem( selected );
+#if QT_VERSION >= 0x030100
     new KRun(item->text().replace("&&","&"));
+#else
+    new KRun(item->text().replace(QRegExp("&&"),"&"));
+#endif
   }
-  
+
   delete showURLmenu;
 }
 
[prev in list] [next in list] [prev in thread] [next in thread] 

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