Skip to content

Commit

Permalink
[tests] Fixes for Qt6
Browse files Browse the repository at this point in the history
  • Loading branch information
gacarrillor authored and nyalldawson committed May 22, 2024
1 parent 99899e9 commit ec563d4
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
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 ec563d4

Please sign in to comment.