mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 00:44:52 +01:00
cleanup unused parts
This commit is contained in:
parent
57ba2a547d
commit
e4282babb5
2 changed files with 1 additions and 7 deletions
|
|
@ -1,4 +1,4 @@
|
|||
from Qt import QtWidgets, QtCore
|
||||
from Qt import QtCore
|
||||
|
||||
|
||||
IDENTIFIER_ROLE = QtCore.Qt.UserRole + 1
|
||||
|
|
|
|||
|
|
@ -1,9 +1,5 @@
|
|||
from Qt import QtWidgets, QtCore
|
||||
|
||||
from .constants import (
|
||||
IDENTIFIER_ROLE,
|
||||
COLUMNS_ROLE
|
||||
)
|
||||
from .delegates import NumberDelegate, StringDelegate
|
||||
|
||||
|
||||
|
|
@ -92,8 +88,6 @@ class HierarchyView(QtWidgets.QTreeView):
|
|||
super(HierarchyView, self).rowsInserted(parent_index, start, end)
|
||||
|
||||
for row in range(start, end + 1):
|
||||
index = self._source_model.index(row, 0, parent_index)
|
||||
columns = index.data(COLUMNS_ROLE) or []
|
||||
for key, column in self._column_key_to_index.items():
|
||||
if key not in self.persistent_columns:
|
||||
continue
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue