Browse Source

Unused field (since ever)

Source commit: 4468286ba3dce4d512bc5d38ff17a8f884103338
Martin Prikryl 1 year ago
parent
commit
8d4b5148fd
1 changed files with 0 additions and 9 deletions
  1. 0 9
      source/packages/filemng/DirView.pas

+ 0 - 9
source/packages/filemng/DirView.pas

@@ -98,7 +98,6 @@ type
     FOwner: TDirView;
     FOwner: TDirView;
     FIndex: Integer;
     FIndex: Integer;
     FMaxIndex: Integer;
     FMaxIndex: Integer;
-    FNewIcons: Boolean;
     FSyncIcon: Integer;
     FSyncIcon: Integer;
     FCurrentIndex: Integer;
     FCurrentIndex: Integer;
     FCurrentFilePath: string;
     FCurrentFilePath: string;
@@ -618,7 +617,6 @@ begin
   inherited Create(True);
   inherited Create(True);
   FOwner := Owner;
   FOwner := Owner;
   FIndex := 0;
   FIndex := 0;
-  FNewIcons := False;
   if (FOwner.ViewStyle = vsReport) or (FOwner.ViewStyle = vsList) then
   if (FOwner.ViewStyle = vsReport) or (FOwner.ViewStyle = vsList) then
     FMaxIndex := FOwner.VisibleRowCount
     FMaxIndex := FOwner.VisibleRowCount
       else FMaxIndex := 0;
       else FMaxIndex := 0;
@@ -631,7 +629,6 @@ var
 begin
 begin
   if Value <> MaxIndex then
   if Value <> MaxIndex then
   begin
   begin
-    FNewIcons := True;
     if Value < FMaxIndex then
     if Value < FMaxIndex then
     begin
     begin
       if Suspended then FIndex := Value
       if Suspended then FIndex := Value
@@ -656,7 +653,6 @@ begin
   begin
   begin
     PageSize := FOwner.VisibleRowCount;
     PageSize := FOwner.VisibleRowCount;
     FIndex := Value;
     FIndex := Value;
-    FNewIcons := True;
     if FOwner.ViewStyle = vsList then FMaxIndex := Value + 2 * PageSize
     if FOwner.ViewStyle = vsList then FMaxIndex := Value + 2 * PageSize
       else FMaxIndex := Value + PageSize;
       else FMaxIndex := Value + PageSize;
   end;
   end;
@@ -672,8 +668,6 @@ begin
   if Assigned(FOwner.TopItem) then FIndex := FOwner.TopItem.Index
   if Assigned(FOwner.TopItem) then FIndex := FOwner.TopItem.Index
     else FIndex := 0;
     else FIndex := 0;
 
 
-  FNewIcons := (FIndex > 0);
-
   while not Terminated do
   while not Terminated do
   begin
   begin
     if FIndex > FMaxIndex then Suspend;
     if FIndex > FMaxIndex then Suspend;
@@ -698,8 +692,6 @@ begin
         FreePIDL(FCurrentItemData.PIDL);
         FreePIDL(FCurrentItemData.PIDL);
         Break;
         Break;
       end;
       end;
-      if FSyncIcon <> FCurrentItemData.ImageIndex then
-        FNewIcons := True;
       if not Terminated then
       if not Terminated then
       begin
       begin
         Synchronize(DoUpdateIcon);
         Synchronize(DoUpdateIcon);
@@ -751,7 +743,6 @@ begin
         LVI.iImage := I_IMAGECALLBACK;
         LVI.iImage := I_IMAGECALLBACK;
         if not Terminated then
         if not Terminated then
           ListView_SetItem(FOwner.Handle, LVI);
           ListView_SetItem(FOwner.Handle, LVI);
-        FNewIcons := True;
       end;
       end;
       PFileRec(Data)^.IconEmpty := False;
       PFileRec(Data)^.IconEmpty := False;
     end;
     end;