From 75d08c03bfd546730806e9c4031e5a083ad82d96 Mon Sep 17 00:00:00 2001 From: Julien Moura Date: Fri, 16 Jan 2026 14:50:32 +0100 Subject: [PATCH] fix(qt6): replace deprecated Qt.ItemFlag.ItemIsTristate with maintained Qt.ItemFlag.ItemIsAutoTristate --- profile_manager/gui/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/profile_manager/gui/utils.py b/profile_manager/gui/utils.py index a696b2b..6c74719 100644 --- a/profile_manager/gui/utils.py +++ b/profile_manager/gui/utils.py @@ -24,7 +24,7 @@ def data_sources_as_tree( if make_checkable: tree_root_item.setFlags( tree_root_item.flags() - | Qt.ItemFlag.ItemIsTristate + | Qt.ItemFlag.ItemIsAutoTristate | Qt.ItemFlag.ItemIsUserCheckable )