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

List:       kde-commits
Subject:    KDE/kdelibs/kutils
From:       John Layt <john () layt ! net>
Date:       2009-11-29 17:27:41
Message-ID: 1259515661.121087.6433.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1056231 by jlayt:

krazy fixes
--Ths line, and those below, will be ignored--

M    kutils/kcmultidialog.cpp
M    kutils/kemoticons/kemoticons.cpp


 M  +1 -1      kcmultidialog.cpp  
 M  +1 -1      kemoticons/kemoticons.cpp  


--- trunk/KDE/kdelibs/kutils/kcmultidialog.cpp #1056230:1056231
@@ -313,7 +313,7 @@
 {
   QString complete = path;
 
-  if ( !path.endsWith( ".desktop" ) )
+  if ( !path.endsWith( QLatin1String(".desktop") ) )
     complete += ".desktop";
 
   KService::Ptr service = KService::serviceByStorageId( complete );
--- trunk/KDE/kdelibs/kutils/kemoticons/kemoticons.cpp #1056230:1056231
@@ -214,7 +214,7 @@
                currentBundleMimeType == "application/x-lzma" ||
 	       currentBundleMimeType == "application/x-xz") {
         archive = new KTar(archiveName);
-    } else if (archiveName.endsWith("jisp") || archiveName.endsWith("zip")) {
+    } else if (archiveName.endsWith(QLatin1String("jisp")) || \
archiveName.endsWith(QLatin1String("zip"))) {  archive = new KZip(archiveName);
     } else {
         archive = new KTar(archiveName);


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

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