Converter: Remove the now obsolete OnIdle handler.

git-svn-id: trunk@28248 -
This commit is contained in:
juha 2010-11-15 12:38:55 +00:00
parent 972428939b
commit ae950504fd

View File

@ -155,8 +155,6 @@ type
// Units that are found and will be added to project and converted.
fUnitsToAddToProject: TStringList;
fSettings: TConvertSettings;
fDoneScan: Boolean;
procedure OnIdle(Sender: TObject; var Done: Boolean);
function ConvertSub: TModalResult;
procedure CleanUpCompilerOptionsSearchPaths(Options: TBaseCompilerOptions);
procedure SetCompilerModeForDefineTempl(DefTempl: TDefineTemplate);
@ -956,15 +954,6 @@ begin
inherited Destroy;
end;
procedure TConvertDelphiPBase.OnIdle(Sender: TObject; var Done: Boolean);
begin
if not fDoneScan then begin
CacheUnitsInPath(TrimFilename(fSettings.MainPath+'../'));
fDoneScan:=True;
end;
Done:=True;
end;
// Creates or updates a lazarus project (.lpi+.lpr) or package.
function TConvertDelphiPBase.Convert: TModalResult;
var