Qt: faster Sort() routines in qtprivate.

git-svn-id: trunk@16417 -
This commit is contained in:
zeljko 2008-09-04 18:39:00 +00:00
parent bdff789799
commit 08b2573645

View File

@ -455,10 +455,7 @@ begin
inherited Sort;
for I := 0 to Count - 1 do
begin
FOwner.removeItem(I);
FOwner.insertItem(I, Strings[I]);
end;
FOwner.setItemText(I, Strings[I]);
end;
{ TQtListStrings }
@ -520,10 +517,7 @@ begin
inherited Sort;
for I := 0 to Count - 1 do
begin
FOwner.removeItem(I);
FOwner.insertItem(I, Strings[I]);
end;
FOwner.setItemText(I, Strings[I]);
end;
end.