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

List:       kde-commits
Subject:    branches/extragear/kde3/libs/kipi-plugins/flickrexport
From:       Gilles Caulier <caulier.gilles () gmail ! com>
Date:       2008-05-20 13:56:11
Message-ID: 1211291771.449288.20910.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 810343 by cgilles:

polish


 M  +5 -5      flickrtalker.cpp  


--- branches/extragear/kde3/libs/kipi-plugins/flickrexport/flickrtalker.cpp #810342:810343
@@ -344,7 +344,7 @@
 
     QString url  = "http://www.flickr.com/services/upload/?";
     QString path = photoPath;
-    QStringList headers; 
+    QStringList headers;
     MPForm      form;
     form.addPair("auth_token", m_token);
     headers.append("auth_token=" + m_token);
@@ -366,9 +366,9 @@
 
     QString tags = info.tags.join(" ");
     if(tags.length() > 0)
-    {	
-        form.addPair("tags",tags);
-        headers.append("tags="+ tags);
+    {
+        form.addPair("tags", tags);
+        headers.append("tags=" + tags);
     }
 
     if (!info.title.isEmpty())
@@ -394,7 +394,7 @@
     // Check if RAW file.
     QString rawFilesExt(KDcrawIface::DcrawBinary::instance()->rawFiles());
     QFileInfo fileInfo(photoPath);
-    if (rawFilesExt.upper().contains( fileInfo.extension(false).upper() ))
+    if (rawFilesExt.upper().contains(fileInfo.extension(false).upper()))
         KDcrawIface::KDcraw::loadDcrawPreview(image, photoPath);
     else
         image.load(photoPath);
[prev in list] [next in list] [prev in thread] [next in thread] 

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