photosgallery/viewframework/medialists/src/glxlistwindow.cpp
branchRCL_3
changeset 18 bcb43dc84c44
parent 0 4e91876724a2
child 30 a60acebbbd9d
--- a/photosgallery/viewframework/medialists/src/glxlistwindow.cpp	Mon Mar 15 12:40:30 2010 +0200
+++ b/photosgallery/viewframework/medialists/src/glxlistwindow.cpp	Wed Mar 31 21:31:03 2010 +0300
@@ -445,9 +445,8 @@
 	    // Focus should stay on the same item if possible. If not, it should
 	    // go to the first previous item still existing. If none, it should go to 
 	    // first (=first next) item.
-        
-        // @todo: Do not maintain focus index in this class!!! This is broken
-	    
+
+        // @todo: Do not maintain focus index in this class, This is broken
 	    // Update focus if the removal point was before	the focus
 	    if (aFirstRemovedIndex <= newFocusIndex) 
 	    	{
@@ -658,7 +657,7 @@
     TRACER("CGlxListWindow::Range");
     
     TRange range;
-    range.iLength = iRearOffset - iFrontOffset + 1; // Add 1 for focus;
+    range.iLength = iRearOffset - iFrontOffset + 1; // Add 1 for focus
 
 	// Start index is always zero if the whole list fits into the window
 	if ( range.iLength >= aChange.iNewTotalSize )