From 990218c07e2052f7e75af42a965cfc84b36e8371 Mon Sep 17 00:00:00 2001 From: Arno Date: Sat, 12 Oct 2013 05:30:18 +0200 Subject: 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. --- smtreeitem.cpp | 9 --------- 1 file changed, 9 deletions(-) (limited to 'smtreeitem.cpp') 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; -- cgit v1.2.3-70-g09d2