From kde-commits Tue Sep 07 15:40:33 2010 From: Miika Turkia Date: Tue, 07 Sep 2010 15:40:33 +0000 To: kde-commits Subject: extragear/graphics/kphotoalbum Message-Id: <20100907154033.2E2E1AC7CB () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=128387379621013 SVN commit 1172610 by mturkia: bugfix: Autostack set to ignore images with no exact timestamp M +4 -0 ChangeLog M +3 -0 MainWindow/AutoStackImages.cpp --- trunk/extragear/graphics/kphotoalbum/ChangeLog #1172609:1172610 @@ -1,3 +1,7 @@ +2010-09-07 Miika Turkia + + * bugfix: Autostack set to ignore images with no exact timestamp + 2010-09-05 Miika Turkia * Tooltip is shown on thumbnail view only if mouse is idle for 200ms. --- trunk/extragear/graphics/kphotoalbum/MainWindow/AutoStackImages.cpp #1172609:1172610 @@ -152,6 +152,9 @@ { DB::ImageInfoPtr prev; Q_FOREACH( const DB::ImageInfoPtr info, DB::ImageDB::instance()->images().fetchInfos() ) { + // Skipping images that do not have exact time stamp + if ( info->date().start() != info->date().end() ) + continue; if ( !prev.isNull() && ( prev->date().start().secsTo( info->date().start() ) < _continuousThreshold->value() ) ) { DB::Result stack = DB::Result();