This commit is contained in:
sgwp 2024-11-23 17:19:09 +08:00
parent beb717ff30
commit a1f80abe3d

View File

@ -55,12 +55,6 @@ var
pathStr:String; pathStr:String;
I: Integer; I: Integer;
thread:Tthread; thread:Tthread;
begin
thread:=TThread.CreateAnonymousThread(
procedure
begin
TThread.Synchronize(nil,
procedure
begin begin
RootLookAndFeel.NativeStyle := false; RootLookAndFeel.NativeStyle := false;
@ -89,12 +83,6 @@ begin
RootLookAndFeel.SkinName := sdxSkinsUserSkinName; RootLookAndFeel.SkinName := sdxSkinsUserSkinName;
end; end;
end; end;
end)
end);
thread.FreeOnTerminate := True;
thread.Start;
end; end;