diff -r 4633027730f5 -r e6ad4ef83b23 src/hbcore/utils/hbwidgetloader.cpp --- a/src/hbcore/utils/hbwidgetloader.cpp Wed Aug 18 10:05:37 2010 +0300 +++ b/src/hbcore/utils/hbwidgetloader.cpp Thu Sep 02 20:44:51 2010 +0300 @@ -334,20 +334,20 @@ //qDebug() << "Cached layout currently contains" << HbWidgetLoaderActions::mCacheLayout.count() << "items"; #endif bool cacheHit = (name == staticCacheName - && section == staticCacheSection - && fileName == staticCacheFileName - && info.lastModified() == staticCacheModified); - + && section == staticCacheSection + && fileName == staticCacheFileName + && info.lastModified() == staticCacheModified); + if (cacheHit){ #ifdef HB_WIDGETLOADER_DEBUG qDebug() << "Cache hit."; #endif layoutDef = staticCacheLayout; - return true; + return true; } #ifdef HB_WIDGETLOADER_DEBUG - qDebug() << "Cache miss, reloading cache data"; + qDebug() << "Cache miss, reloading cache data"; #endif QFile file(fileName);