mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-19 10:19:23 +02:00
Qt: Fix - TQColor.Alpha & TQColor.Pad must be properly initialized in ColorRefToTQColor().
git-svn-id: trunk@12403 -
This commit is contained in:
parent
924b036e96
commit
67a225075b
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user