diff options
author | fahim | 2015-05-06 11:06:20 +0530 |
---|---|---|
committer | fahim | 2015-05-06 11:06:20 +0530 |
commit | 4ec06556f4bd459477a4468acb562a0333a8ec07 (patch) | |
tree | dc7e52a0a0d5469fafff7c2cd59b7d5814480a4e /src/frontEnd/ProjectExplorer.py | |
parent | 4b4c0f629b77baa250c6535cd95e759b0cda3cba (diff) | |
download | eSim-4ec06556f4bd459477a4468acb562a0333a8ec07.tar.gz eSim-4ec06556f4bd459477a4468acb562a0333a8ec07.tar.bz2 eSim-4ec06556f4bd459477a4468acb562a0333a8ec07.zip |
Subject: Modify Appconfig and Project Explorer
Description:
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): |