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

List:       kde-commits
Subject:    KDE/kdelibs/kio/kio
From:       Jaroslaw Staniek <js () iidea ! pl>
Date:       2008-01-30 18:08:51
Message-ID: 1201716531.817006.32617.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 768815 by staniek:

fix 'cannot find appropriate QVariant ctor' compile error for msvc


 M  +2 -2      kfilemetainfo.cpp  


--- trunk/KDE/kdelibs/kio/kio/kfilemetainfo.cpp #768814:768815
@@ -104,13 +104,13 @@
     void addValue(const AnalysisResult* idx, const RegisteredField* field,
             uint32_t value) {
         if (idx->writerData()) {
-            addValue(idx, field, QVariant(value));
+            addValue(idx, field, QVariant((quint32)value));
         }
     }
     void addValue(const AnalysisResult* idx, const RegisteredField* field,
             int32_t value) {
         if (idx->writerData()) {
-            addValue(idx, field, QVariant(value));
+            addValue(idx, field, QVariant((qint32)value));
         }
     }
     void addValue(const AnalysisResult* idx, const RegisteredField* field,
[prev in list] [next in list] [prev in thread] [next in thread] 

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