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

List:       kde-commits
Subject:    kdelibs/kio/kio
From:       Holger Freyther <freyther () gmx ! net>
Date:       2003-02-09 17:53:54
[Download RAW message or body]

CVS commit by zecke: 

LOL. I love C++ compilers.
the 2nd QVariant::Type t hid the first one
so the switch below never worked.... for custom
properties.
This should fix KItchenSync and WebShortcuts....


  M +2 -2      kservice.cpp   1.128


--- kdelibs/kio/kio/kservice.cpp  #1.127:1.128
@@ -428,5 +428,5 @@ QVariant KService::property( const QStri
     // No luck, let's ask KServiceTypeFactory what the type of this property
     // is supposed to be.
-    QVariant::Type t = KServiceTypeFactory::self()->findPropertyTypeByName(_name);
+    t = KServiceTypeFactory::self()->findPropertyTypeByName(_name);
     if (t == QVariant::Invalid)
     {


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

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