diff options
Diffstat (limited to 'src/frontEnd/ProjectExplorer.py')
-rw-r--r-- | src/frontEnd/ProjectExplorer.py | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/src/frontEnd/ProjectExplorer.py b/src/frontEnd/ProjectExplorer.py index a95986b1..4b6e0c70 100644 --- a/src/frontEnd/ProjectExplorer.py +++ b/src/frontEnd/ProjectExplorer.py @@ -80,16 +80,7 @@ class SceneGraphModel(QtCore.QAbstractItemModel): else: return node.typeInfo() - if role == QtCore.Qt.DecorationRole: - if index.column() == 0: - typeInfo = node.typeInfo() - - if typeInfo == "DIRECTORY": - return QtGui.QIcon(QtGui.QPixmap("../images/default.png")) - - if typeInfo == "FILE": - return QtGui.QIcon(QtGui.QPixmap("../images/default.png")) - + """INPUTS: QModelIndex, QVariant, int (flag)""" def setData(self, index, value, role=QtCore.Qt.EditRole): |