--- a/photosgallery/viewframework/dataprovider/src/glxpreviewthumbnailbinding.cpp Thu Jan 07 12:46:23 2010 +0200
+++ b/photosgallery/viewframework/dataprovider/src/glxpreviewthumbnailbinding.cpp Mon Jan 18 20:19:20 2010 +0200
@@ -334,28 +334,26 @@
// This function resets any existing timer and starts a new timer tick
// ----------------------------------------------------------------------------
//
-
-CGlxBinding::TResponse CGlxPreviewThumbnailBinding::HandleFocusChanged( TBool aIsGained )
+CGlxBinding::TResponse CGlxPreviewThumbnailBinding::HandleFocusChanged(
+ TBool aIsGained)
{
TRACER("CGlxPreviewThumbnailBinding::HandleFocusChanged");
- if(aIsGained)
- {
- if(iTimer)
- {
- iTimer->Cancel();
- }
-
- if(!iTimer->IsActive() )
- {
- iTimer->Start(KThumbnailStartTimeDelay, KThumbnailIntervalTimeDelay,
- TCallBack(IsTime,this));
-
- }
- }
- //return EUpdateRequested;
- return ENoUpdateNeeded;
+ if (aIsGained && iTimer)
+ {
+ if (iTimer->IsActive())
+ {
+ iTimer->Cancel();
+ }
+
+ if (!iTimer->IsActive())
+ {
+ iTimer->Start(KThumbnailStartTimeDelay,
+ KThumbnailIntervalTimeDelay, TCallBack(IsTime, this));
+ }
+ }
+
+ return ENoUpdateNeeded;
}
-
// ----------------------------------------------------------------------------
// HandleItemChangedL