Qt: Fix - TQColor.Alpha & TQColor.Pad must be properly initialized in ColorRefToTQColor().

git-svn-id: trunk@12403 -
This commit is contained in:
zeljko 2007-10-10 09:59:12 +00:00
parent 924b036e96
commit 67a225075b

View File

@ -1868,6 +1868,8 @@ begin
AColor.b:=(AColorRef and $ff0000) shr 8;
AColor.b:=AColor.b+(AColor.b shr 8);
AColor.ColorSpec := Ord(QColorRGB);
AColor.Alpha := 65535;
AColor.Pad := 0;
end;
procedure DebugRegion(const msg: string; Rgn: QRegionH);