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

List:       kde-commits
Subject:    playground/base/plasma/ions/willab
From:       Teemu Rytilahti <tpr () d5k ! net>
Date:       2008-08-17 19:19:32
Message-ID: 1219000772.486457.16140.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 848451 by rytilahti:

don't lowercase the query string gotten from the user and then compare it to a string \
with capitalized chars..

 M  +2 -2      ion_willab.cpp  


--- trunk/playground/base/plasma/ions/willab/ion_willab.cpp #848450:848451
@@ -54,7 +54,7 @@
 
 void WillabIon::fetch()
 {
-    if(!m_isFetching) {kDebug() << "let's fetch!";
+    if(!m_isFetching) {
         m_isFetching = true;
         m_reader.clear();
         m_transferJob = KIO::get(m_url, KIO::Reload, KIO::HideProgressInfo);
@@ -73,7 +73,7 @@
             return true;
         }
         else if(src[1] == "validate") {
-            if(src[2].toLower() == "Linnanmaa, Oulu, Finland") {
+            if(src[2] == "Linnanmaa, Oulu, Finland") {
                 setData(source, "validate", "willab|valid|single|place|Linnanmaa, \
Oulu, Finland");  return true;
             }


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

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