Skip to content

Commit

Permalink
[tests] Fixes for Qt6
Browse files Browse the repository at this point in the history
  • Loading branch information
gacarrillor committed May 17, 2024
1 parent 1eb7805 commit 1986f12
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/src/python/test_qgsprofilesourceregistry.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,8 @@ def renderResults(self, context):
if not painter:
return

painter.setBrush(Qt.NoBrush)
painter.setPen(Qt.NoPen)
painter.setBrush(Qt.BrushStyle.NoBrush)
painter.setPen(Qt.PenStyle.NoPen)

minDistance = context.distanceRange().lower()
maxDistance = context.distanceRange().upper()
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 1986f12

Please sign in to comment.