diff options
Diffstat (limited to 'smtreemodel.cpp')
-rw-r--r-- | smtreemodel.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/smtreemodel.cpp b/smtreemodel.cpp index d797f36..b909fcd 100644 --- a/smtreemodel.cpp +++ b/smtreemodel.cpp @@ -113,10 +113,6 @@ QVariant SmTreeModel::data(const QModelIndex &index, int role) const{ return mDecorationIcon; } } - if(role == Qt::ForegroundRole){ - QColor fgCol = item->foregroundColor().value<QColor>(); - return QBrush(fgCol); - } return QVariant(); } |