[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdeedu/marble/src/plugins/render/panoramio
From: Bastian Holst <bastianholst () gmx ! de>
Date: 2009-04-27 20:02:22
Message-ID: 1240862542.449168.31070.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 960038 by bholst:
Substituted QStringList::length() by QStringList::size(), because \
QStringList::length() isn't available in Qt < 4.5. Thanks to Andrew Manson.
M +1 -1 jsonparser.cpp
--- trunk/KDE/kdeedu/marble/src/plugins/render/panoramio/jsonparser.cpp \
#960037:960038 @@ -44,7 +44,7 @@
// Getting the upload date of the image.
QString upload_date_string=myEngine.evaluate(QString("upload_date(x)")).toString();
QStringList date = upload_date_string.split( ' ' );
- if( date.length() == 3 ) {
+ if( date.size() == 3 ) {
unsigned int day = date.at( 0 ).toUInt();
unsigned int month = 1;
if( date.at( 1 ).contains( "January" ) )
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic