summaryrefslogtreecommitdiffstats
path: root/smtreemodel.cpp
diff options
context:
space:
mode:
authorArno <am@disconnect.de>2013-10-12 05:30:18 +0200
committerArno <am@disconnect.de>2013-10-12 05:30:18 +0200
commit990218c07e2052f7e75af42a965cfc84b36e8371 (patch)
tree70a34d61e4cf2290565fa5cb02395a568e814162 /smtreemodel.cpp
parent697541ea2c50ba97fc4b4e31e9e7c4d82be51899 (diff)
downloadSheMov-990218c07e2052f7e75af42a965cfc84b36e8371.tar.gz
SheMov-990218c07e2052f7e75af42a965cfc84b36e8371.tar.bz2
SheMov-990218c07e2052f7e75af42a965cfc84b36e8371.zip
Fix Style issues
* Change fixed width front from "courier" to "Monospace" * Remove foregroundcolor from SmTreeItem. Wasn't used nor needed, quite the opposite: it made SheMov deviate from the default style.
Diffstat (limited to 'smtreemodel.cpp')
-rw-r--r--smtreemodel.cpp4
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();
}