Minor change

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3622 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
scorpio810
2015-01-19 12:13:27 +00:00
parent 5efc114e7b
commit a861014ca7

View File

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