Browse Source

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

Source commit: 5d57123a12f147f2e7884707d812afa03d263063
Martin Prikryl 5 years ago
parent
commit
ec39b86ae3
2 changed files with 1 additions and 5 deletions
  1. 1 3
      source/forms/CustomScpExplorer.cpp
  2. 0 2
      source/forms/ScpCommander.cpp

+ 1 - 3
source/forms/CustomScpExplorer.cpp

@@ -1,4 +1,3 @@
-// TODO_OTHER_LOCAL
 //---------------------------------------------------------------------------
 #define NO_WIN32_LEAN_AND_MEAN
 #include <vcl.h>
@@ -1641,8 +1640,7 @@ void __fastcall TCustomScpExplorerForm::DoOperationFinished(
 
     if ((Operation == foCopy) || (Operation == foMove))
     {
-      // TODO_OTHER_LOCAL
-      if (!IsLocalBrowserMode())
+      if (DebugAlwaysTrue(!IsLocalBrowserMode()))
       {
         if (Side == osLocal)
         {

+ 0 - 2
source/forms/ScpCommander.cpp

@@ -750,7 +750,6 @@ void __fastcall TScpCommanderForm::ConfigurationChanged()
     // save value only if it was set yet
     if (FPanelsRestored)
     {
-      // TODO_OTHER_LOCAL
       if (TreeOnLeft)
       {
         // want to be on left, so it is on top, saving height
@@ -777,7 +776,6 @@ void __fastcall TScpCommanderForm::ConfigurationChanged()
     RemotePanelSplitter->Cursor = SplitterCursor;
     FixControlsPlacement();
 
-    // TODO_OTHER_LOCAL
     if (TreeOnLeft)
     {
       LocalDriveView->Width = LocalPanel.DriveViewWidth;