diff --git a/src/usdb_syncer/gui/search_tree/model.py b/src/usdb_syncer/gui/search_tree/model.py index 3a0a77d6..dfda0b1a 100644 --- a/src/usdb_syncer/gui/search_tree/model.py +++ b/src/usdb_syncer/gui/search_tree/model.py @@ -110,8 +110,8 @@ def index( item = parent_item.children[row] return self.createIndex(row, column, item) - @overload - def parent(self, child: QIndex) -> QModelIndex: ... # type: ignore + @overload # type: ignore + def parent(self, child: QIndex) -> QModelIndex: ... @overload def parent(self) -> QObject: ...