Browse Source

Removing unused method

Source commit: 3ddebeac283aaa21721c6113f786536e9d1b6268
Martin Prikryl 5 years ago
parent
commit
52cadf1fa8
2 changed files with 0 additions and 10 deletions
  1. 0 9
      source/forms/Authenticate.cpp
  2. 0 1
      source/forms/Authenticate.h

+ 0 - 9
source/forms/Authenticate.cpp

@@ -45,8 +45,6 @@ void __fastcall TAuthenticateForm::Init(TTerminal * Terminal)
   FHorizontalLogPadding = ScaleByTextHeight(this, 4);
   FVerticalLogPadding = ScaleByTextHeight(this, 3);
   FLogTextFormat << tfNoPrefix << tfWordBreak << tfVerticalCenter;
-
-  ClearLog();
 }
 //---------------------------------------------------------------------------
 __fastcall TAuthenticateForm::~TAuthenticateForm()
@@ -148,13 +146,6 @@ void __fastcall TAuthenticateForm::FormShow(TObject * /*Sender*/)
   FFrameAnimation.Start();
 }
 //---------------------------------------------------------------------------
-void __fastcall TAuthenticateForm::ClearLog()
-{
-  // TListItems::Clear() does nothing without allocated handle
-  LogView->HandleNeeded();
-  LogView->Items->Clear();
-}
-//---------------------------------------------------------------------------
 void __fastcall TAuthenticateForm::Log(const UnicodeString Message)
 {
   // HACK

+ 0 - 1
source/forms/Authenticate.h

@@ -76,7 +76,6 @@ public:
   __property TNotifyEvent OnCancel = { read = FOnCancel, write = FOnCancel };
 
 protected:
-  void __fastcall ClearLog();
   void __fastcall AdjustControls();
   bool __fastcall Execute(UnicodeString Status, TPanel * Panel,
     TWinControl * FocusControl, TButton * DefaultButton, TButton * CancelButton,