diff options
author | Arno <am@disconnect.de> | 2013-10-12 05:30:18 +0200 |
---|---|---|
committer | Arno <am@disconnect.de> | 2013-10-12 05:30:18 +0200 |
commit | 990218c07e2052f7e75af42a965cfc84b36e8371 (patch) | |
tree | 70a34d61e4cf2290565fa5cb02395a568e814162 /smtreeitem.cpp | |
parent | 697541ea2c50ba97fc4b4e31e9e7c4d82be51899 (diff) | |
download | SheMov-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 'smtreeitem.cpp')
-rw-r--r-- | smtreeitem.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/smtreeitem.cpp b/smtreeitem.cpp index a8e183c..559bcd3 100644 --- a/smtreeitem.cpp +++ b/smtreeitem.cpp @@ -21,7 +21,6 @@ SmTreeItem::SmTreeItem(int rows, SmTreeItem *parent) : mParent(parent){ SmTreeItem::SmTreeItem(const SmTreeItem &other){ mParent = 0; mData = other.mData; - mForegroundColor = other.mForegroundColor; } SmTreeItem::~SmTreeItem(){ @@ -81,14 +80,6 @@ void SmTreeItem::setData(int column, const QVariant &data){ mData[column] = data; } -QVariant SmTreeItem::foregroundColor() const{ - return mForegroundColor; -} - -void SmTreeItem::setForegroundColor(const QVariant &data){ - mForegroundColor = data; -} - bool SmTreeItem::insertChild(int where, SmTreeItem *child){ if((where < 0) || (where > mChildren.count())){ return false; |