terminal -> help line : minor change

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3626 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
blacksun
2015-01-23 14:12:03 +00:00
parent 9531a094a3
commit c1d20ca091

View File

@@ -288,8 +288,6 @@ void Terminal::paint(QPainter *p, const QStyleOptionGraphicsItem *options, QWidg
if (!m_help_line)
m_help_line = new QGraphicsLineItem(this);
QPen pen;
pen.setWidthF(0.4);
pen.setCosmetic(true);
pen.setColor(Qt::darkBlue);
QLineF line(HelpLine());
@@ -300,8 +298,6 @@ void Terminal::paint(QPainter *p, const QStyleOptionGraphicsItem *options, QWidg
if (t)
{
line.setP2(t -> dockConductor());
pen.setWidthF(0.4);
pen.setCosmetic(true);
pen.setColor(Qt::darkGreen);
}
}
@@ -318,8 +314,6 @@ void Terminal::paint(QPainter *p, const QStyleOptionGraphicsItem *options, QWidg
{
m_help_line_a = new QGraphicsLineItem(this);
QPen pen;
pen.setWidthF(0.4);
pen.setCosmetic(true);
pen.setColor(Qt::darkGray);
m_help_line_a -> setPen(pen);
}