From 199fbf5c75d060de223621fcd82495dc735a01ff Mon Sep 17 00:00:00 2001 From: Nyall Dawson Date: Thu, 12 Dec 2024 11:50:36 +1000 Subject: [PATCH] Fix test on qt6 --- tests/src/python/test_qgscoordinatereferencesystemmodel.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/src/python/test_qgscoordinatereferencesystemmodel.py b/tests/src/python/test_qgscoordinatereferencesystemmodel.py index 909d6369d999..9e6dc222e581 100644 --- a/tests/src/python/test_qgscoordinatereferencesystemmodel.py +++ b/tests/src/python/test_qgscoordinatereferencesystemmodel.py @@ -790,7 +790,7 @@ def test_proxy_model(self): for row in range(model.rowCount(projected_index)) if model.data( model.index(row, 0, projected_index), - Qt.DisplayRole, + Qt.ItemDataRole.DisplayRole, ) == "Albers Equal Area" ][0]