Jelajahi Sumber

Removing two more local-local TODO tags for code that actually does not need update

Source commit: 9c94a6c4b70cde1f9d49e7461c13931e5246f72c
Martin Prikryl 5 tahun lalu
induk
melakukan
fa47b9558e
1 mengubah file dengan 0 tambahan dan 2 penghapusan
  1. 0 2
      source/forms/ScpCommander.cpp

+ 0 - 2
source/forms/ScpCommander.cpp

@@ -1177,7 +1177,6 @@ void __fastcall TScpCommanderForm::LocalFileControlDDDragEnter(TObject *Sender,
 bool __fastcall TScpCommanderForm::PanelOperation(TOperationSide Side,
 bool __fastcall TScpCommanderForm::PanelOperation(TOperationSide Side,
   bool DragDrop)
   bool DragDrop)
 {
 {
-  // TODO
   return TCustomScpExplorerForm::PanelOperation(Side, DragDrop) ||
   return TCustomScpExplorerForm::PanelOperation(Side, DragDrop) ||
     (DropSourceControl == LocalDirView);
     (DropSourceControl == LocalDirView);
 }
 }
@@ -1188,7 +1187,6 @@ void __fastcall TScpCommanderForm::FileOperationProgress(
   // Heuristic: When operation finishes and DD target is local dir view,
   // Heuristic: When operation finishes and DD target is local dir view,
   // we suppose that drag&drop download finished, so local dir view should be
   // we suppose that drag&drop download finished, so local dir view should be
   // reloaded
   // reloaded
-  // TODO
   if (!ProgressData.InProgress && FProgressForm &&
   if (!ProgressData.InProgress && FProgressForm &&
       IsFileControl(FDDTargetControl, osLocal) &&
       IsFileControl(FDDTargetControl, osLocal) &&
       ((ProgressData.Operation == ::foCopy) || (ProgressData.Operation == ::foMove)))
       ((ProgressData.Operation == ::foCopy) || (ProgressData.Operation == ::foMove)))