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

List:       kde-commits
Subject:    kdelibs/kate/part
From:       Christoph Cullmann <crossfire () babylon2k ! de>
Date:       2003-11-21 19:40:40
[Download RAW message or body]

CVS commit by cullmann: 

ossi is right, use prepend


  M +3 -2      katefiletype.cpp   1.19


--- kdelibs/kate/part/katefiletype.cpp  #1.18:1.19
@@ -115,5 +115,6 @@ void KateFileTypeManager::save (QPtrList
     QString varLine = v->at(z)->varLine;
     if (QRegExp("kate:(.*)").search(varLine) < 0)
-      varLine = "kate: " + varLine;
+      varLine.prepend ("kate: ");
+
     config.writeEntry ("Variables", varLine);
 


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

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