--- a/photosgallery/slideshow/engine/controlsrc/shweffectcontrol.cpp Mon Mar 15 12:40:30 2010 +0200
+++ b/photosgallery/slideshow/engine/controlsrc/shweffectcontrol.cpp Wed Mar 31 21:31:03 2010 +0300
@@ -189,15 +189,15 @@
// is it start view
TShwEventStartView* viewEvent =
dynamic_cast<TShwEventStartView*>( aEvent );
- // start transition?
+ // is it start transition
TShwEventStartTransition* transEvent =
dynamic_cast<TShwEventStartTransition*>( aEvent );
- // was it a pause or resume event?
+ // was it a pause or resume event
TShwEventPause* pauseEvent =
dynamic_cast<TShwEventPause*>( aEvent );
TShwEventResume* resumeEvent =
dynamic_cast<TShwEventResume*>( aEvent );
- // or a navigation event?
+ // or was it a navigation event
TShwEventNextImage* nextImageEvent =
dynamic_cast< TShwEventNextImage* >( aEvent );
TShwEventPreviousImage* previousImageEvent =
@@ -464,7 +464,7 @@
MShwEffect* currentEffect = iEffectManager.CurrentEffect();
// remove the old layout
iSplitter.RemoveLayout( iCurrentVisual );
- // was this thumbnail succesfully loaded?
+ // check if this thumbnail was succesfully loaded
if ( iFailedThumbnailIndex == currentIndex )
{
// set the temporary layout for default icon
@@ -545,7 +545,7 @@
// remove old layout
iSplitter.RemoveLayout( nextVisual );
- // was the next thumbnail succesfully loaded?
+ // Check if the next thumbnail was succesfully loaded
if ( iFailedThumbnailIndex == nextIndex )
{
TAlfTimedValue opacity(KMaxOpacity,0);
@@ -649,9 +649,8 @@
}
CleanupStack::PopAndDestroy( &effects );
- // did user navigate while paused?
if( iUserNavigated )
- {
+ { // user navigated while paused
// resume and cancel the transition timer for its next use
// if user navigates while pause
// we never continue from transition so we need