From 60d133c80e1a196b1894ca5e07016feb5a55a719 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]