mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-21 22:59:27 +02:00
Qt: use QPixmap instead of QImage for QBrush constructor. issue #26464
git-svn-id: trunk@45818 -
This commit is contained in:
parent
600fc1036c
commit
cc5b5002df
@ -1386,7 +1386,8 @@ begin
|
||||
AMask := QBitmap_create();
|
||||
QPixmap_mask(APixmap, AMask);
|
||||
QWidget_setMask(FDragImageList, AMask);
|
||||
ABrush := QBrush_create(AImage);
|
||||
// issue #26464, use QPixmap instead of QImage in QBrush constructor.
|
||||
ABrush := QBrush_create(APixmap);
|
||||
APalette := QWidget_palette(FDragImageList);
|
||||
QPalette_setBrush(APalette, QPaletteWindow, ABrush);
|
||||
QBrush_destroy(ABrush);
|
||||
|
Loading…
Reference in New Issue
Block a user