diff --git a/components/virtualtreeview-unstable/VirtualTrees.pas b/components/virtualtreeview-unstable/VirtualTrees.pas index 5a4098cf8..ed93aabdc 100644 --- a/components/virtualtreeview-unstable/VirtualTrees.pas +++ b/components/virtualtreeview-unstable/VirtualTrees.pas @@ -117,7 +117,7 @@ interface {$define Gtk} {$endif} -{$if defined(Gtk) or defined(LCLQt)} +{$if defined(Gtk)} {$define ManualClipNeeded} {$endif} @@ -27006,13 +27006,6 @@ begin end; Logger.SendIf([lcPaintDetails],'YCorrect ' + IntToStr(YCorrect), YCorrect > 0); {$endif} - {$ifdef LCLQt} - //Workaround to LCL bug 11187 - //Qt scales the bitmap when blitting out of control bounds - YCorrect := 0; - if TargetRect.Top < 0 then - YCorrect := -TargetRect.Top; - {$endif} // Put the constructed node image onto the target canvas. with TargetRect, NodeBitmap do BitBlt(TargetCanvas.Handle, Left,