Make View backgrounds transparent

- makes it easier to stack views
This commit is contained in:
WandererFan
2017-09-14 09:52:29 -04:00
committed by wmayer
parent 00edf63be8
commit 9ca4b72f1d

View File

@@ -376,6 +376,8 @@ void QGIView::drawBorder()
double labelWidth = m_label->boundingRect().width();
double labelHeight = (1 - labelCaptionFudge) * m_label->boundingRect().height();
QBrush b(Qt::NoBrush);
m_border->setBrush(b);
m_decorPen.setColor(m_colCurrent);
m_border->setPen(m_decorPen);