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

List:       kde-commits
Subject:    [marble] src/plugins/render/panoramio: item needs to be added in any case
From:       Bernhard Beschow <bbeschow () cs ! tu-berlin ! de>
Date:       2014-06-30 20:14:19
Message-ID: E1X1hxz-00006w-Jo () scm ! kde ! org
[Download RAW message or body]

Git commit 185c718127deb83a3f8ea2f48991958ca9884444 by Bernhard Beschow.
Committed on 30/06/2014 at 19:41.
Pushed by beschow into branch 'master'.

item needs to be added in any case

M  +2    -2    src/plugins/render/panoramio/PanoramioModel.cpp

http://commits.kde.org/marble/185c718127deb83a3f8ea2f48991958ca9884444

diff --git a/src/plugins/render/panoramio/PanoramioModel.cpp \
b/src/plugins/render/panoramio/PanoramioModel.cpp index 210d56d..c255115 100644
--- a/src/plugins/render/panoramio/PanoramioModel.cpp
+++ b/src/plugins/render/panoramio/PanoramioModel.cpp
@@ -84,9 +84,9 @@ void PanoramioModel::parseFile( const QByteArray &file )
                                                  standardImageSize );
             widget->addDownloadedFile( filename,
                                        standardImageSize );
-            
-            addItemToList( widget );
         }
+
+        addItemToList( widget );
     }
 }
 


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

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