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

List:       kde-commits
Subject:    branches/work/konvi-kde4/src
From:       Lorenzo Villani <lvillani () binaryhelix ! net>
Date:       2009-02-01 20:47:53
Message-ID: 1233521273.120242.28432.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 919908 by villani:

And that should fix breakage introduced by previous commits

 M  +2 -2      configdialog.cpp  
 M  +4 -4      irc/channel.cpp  


--- branches/work/konvi-kde4/src/configdialog.cpp #919907:919908
@@ -105,7 +105,7 @@
 
 KonviConfigDialog::~KonviConfigDialog()
 {
-    openDialogs.remove(objectName());
+    openDialogs.remove(objectName().toLatin1().constData());
     delete d;
 }
 
@@ -203,7 +203,7 @@
     // Update the buttons
     updateButtons();
     emit settingsChanged();
-    emit settingsChanged(objectName());
+    emit settingsChanged(objectName().toLatin1().constData());
 }
 
 void KonviConfigDialog::show()
--- branches/work/konvi-kde4/src/irc/channel.cpp #919907:919908
@@ -2284,8 +2284,8 @@
     }
     
     QPalette channelInputPalette;
-    palette.setColor(channelInput->foregroundRole(), fg);
-    palette.setColor(channelInput->backgroundRole(), bg);
+    channelInputPalette.setColor(channelInput->foregroundRole(), fg);
+    channelInputPalette.setColor(channelInput->backgroundRole(), bg);
     channelInput->setPalette(channelInputPalette);
 
     QPalette limitPalette;
@@ -2812,7 +2812,7 @@
   {
     if (string.section(' ', 0, 0) == ban)
     {
-      m_BanList.erase(string);
+      m_BanList.removeOne(string);
 
       emit banRemoved(ban);
     }
@@ -2953,7 +2953,7 @@
         while(ok && ((patternLength) < firstNickLength))
         {
             ++patternLength;
-            QStringList tmp = found.filter(firstNick.left(patternLength), \
caseSensitive); +            QStringList tmp = \
found.filter(firstNick.left(patternLength), caseSensitive ? Qt::CaseSensitive : \
Qt::CaseInsensitive);  
             if(tmp.count() != foundCount)
             {


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

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