TechDraw: remove unneeded state from QGIPrimPath
This commit is contained in:
@@ -64,9 +64,7 @@ QGIBreakLine::QGIBreakLine()
|
||||
|
||||
|
||||
setColor(PreferencesGui::sectionLineQColor());
|
||||
|
||||
// setFill(Qt::NoBrush);
|
||||
setFill(Qt::SolidPattern);
|
||||
m_brush.setStyle(Qt::SolidPattern);
|
||||
}
|
||||
|
||||
void QGIBreakLine::draw()
|
||||
@@ -253,9 +251,6 @@ void QGIBreakLine::paint ( QPainter * painter, const QStyleOptionGraphicsItem *
|
||||
|
||||
void QGIBreakLine::setTools()
|
||||
{
|
||||
m_pen.setWidthF(m_width);
|
||||
m_pen.setColor(m_colCurrent);
|
||||
m_brush.setStyle(m_brushCurrent);
|
||||
m_brush.setColor(PreferencesGui::pageQColor());
|
||||
|
||||
m_line0->setPen(m_pen);
|
||||
|
||||
Reference in New Issue
Block a user