From 57be68ea73d19c4610640b7d17430980ec439577 Mon Sep 17 00:00:00 2001 From: aclist <92275929+aclist@users.noreply.github.com> Date: Tue, 9 Dec 2025 13:58:37 +0900 Subject: [PATCH] chore: cleanup --- dzgui/controllers/model.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/dzgui/controllers/model.py b/dzgui/controllers/model.py index 747f701..a3dae37 100644 --- a/dzgui/controllers/model.py +++ b/dzgui/controllers/model.py @@ -259,12 +259,8 @@ class ModelManager: self.filter_cache[filters] = (model, rows) def new_model(self) -> ListStore: - store = ListStore(*[ftype for field, ftype in ServerColumns.__annotations__.items()]) + store = self.new_model_from_class(ServerColumns) return store - #return = ListStore(*f) - #return ListStore( - # str, str, str, str, int, int, int, str, int, int, str, bool - #) def resync_model(self, addr: str, qport: int) -> None: """