Skip to content

Commit 1a91f70

Browse files
authored
Merge pull request #625 from Cordtus/fix-qt6-imageview-rendering
Fix Qt6 rendering: exclude from DIRECTUPDATE/QUICKUPDATE optimizations
2 parents 2303d8c + 48a976f commit 1a91f70

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/make.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
- macos-13
2929
steps:
3030
- name: Checkout
31-
uses: actions/checkout@v4
31+
uses: actions/checkout@v6
3232
with:
3333
submodules: true
3434

lazpaint/uimageview.pas

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
unit UImageView;
33

44
{$mode objfpc}{$H+}
5-
{$IF defined(LINUX) and not defined(LCLqt5)}{$DEFINE IMAGEVIEW_DIRECTUPDATE}{$ENDIF}
5+
{$IF defined(LINUX) and not defined(LCLqt5) and not defined(LCLqt6)}{$DEFINE IMAGEVIEW_DIRECTUPDATE}{$ENDIF}
66
{$DEFINE DRAW_TOOL_OUTSIDE_IMAGE}
7-
{$IF not defined(DARWIN) and not defined(LCLqt5)}{$DEFINE IMAGEVIEW_QUICKUPDATE}{$ENDIF}
7+
{$IF not defined(DARWIN) and not defined(LCLqt5) and not defined(LCLqt6)}{$DEFINE IMAGEVIEW_QUICKUPDATE}{$ENDIF}
88

99
interface
1010

0 commit comments

Comments
 (0)