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

List:       kde-commits
Subject:    KDE/kdebase/workspace/plasma/dataengines/weather/ions
From:       Teemu Rytilahti <tpr () d5k ! net>
Date:       2009-05-16 23:40:42
Message-ID: 1242517242.759538.5018.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 968938 by rytilahti:

be more verbose about what was the input, forgot to commit this one a looooooong time \
ago

 M  +5 -5      weatherutils.cpp  


--- trunk/KDE/kdebase/workspace/plasma/dataengines/weather/ions/weatherutils.cpp \
#968937:968938 @@ -57,7 +57,7 @@
         };
     }
 
-    kWarning() << "Your application is trying to use convertTemperature() with an \
invalid srcUnit or destUnit"; +    kWarning() << "Your application is trying to use \
convertTemperature() with an invalid srcUnit (" << srcUnit << ") or destUnit (" << \
destUnit << ")";  return InvalidConversion;
 }
 
@@ -105,7 +105,7 @@
         };
     }
 
-    kWarning() << "Your application is trying to use convertDistance() with an \
invalid srcUnit or destUnit"; +    kWarning() << "Your application is trying to use \
convertDistance() with an invalid srcUnit (" << srcUnit << ") or destUnit (" << \
destUnit << ")";  return InvalidConversion;
 }
 
@@ -166,7 +166,7 @@
         };
     }
 
-    kWarning() << "Your application is trying to use convertSpeed() with an invalid \
srcUnit or destUnit"; +    kWarning() << "Your application is trying to use \
convertSpeed() with an invalid srcUnit (" << srcUnit << ") or destUnit (" << destUnit \
<< ")";  return InvalidConversion;
 }
 
@@ -207,7 +207,7 @@
         };
     }
 
-    kWarning() << "Your application is trying to use convertPressure() with an \
invalid srcUnit or destUnit"; +    kWarning() << "Your application is trying to use \
convertPressure() with an invalid srcUnit (" << srcUnit << ") or destUnit (" << \
destUnit << ")";  return InvalidConversion;
 }
 
@@ -242,7 +242,7 @@
 
     };
 
-    kWarning() << "Your application is using WeatherUtils::update() with an unknown \
srcUnit, please check your code.."; +    kWarning() << "Your application is using \
WeatherUtils::update() with an unknown srcUnit (" << srcUnit << "), please check your \
code..";  return NoSuchUnit;
 }
 


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

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