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

List:       kde-commits
Subject:    branches/KDE/4.2/kdeedu/marble/src/lib
From:       Torsten Rahn <tackat () kde ! org>
Date:       2009-02-12 17:07:19
Message-ID: 1234458439.800340.6023.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 925182 by rahn:


- Protective Crash fix for fully pretiled themes that get deleted by clearing \
feature.



 M  +5 -0      FileStoragePolicy.cpp  


--- branches/KDE/4.2/kdeedu/marble/src/lib/FileStoragePolicy.cpp #925181:925182
@@ -100,6 +100,11 @@
             while (itTheme.hasNext()) {
                 itTheme.next();
                 QString tileDirectory = itTheme.filePath();
+
+                if ( itTheme.fileName().toInt() < 5 ) {
+                    continue;
+                }
+
                 QDirIterator itTile( tileDirectory, QDir::Files | QDir::NoSymLinks, \
QDirIterator::Subdirectories );  while (itTile.hasNext()) {
                     itTile.next();


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

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