[TD]fix leader autohorizontal on rotated base view
This commit is contained in:
committed by
Yorik van Havre
parent
23354b57cb
commit
a92acbd457
@@ -21,6 +21,7 @@
|
||||
***************************************************************************/
|
||||
|
||||
#include "PreCompiled.h"
|
||||
#include <qpainter.h>
|
||||
#ifndef _PreComp_
|
||||
# include <cmath>
|
||||
# include <QGraphicsScene>
|
||||
@@ -546,8 +547,8 @@ void QGIWeldSymbol::paint ( QPainter * painter, const QStyleOptionGraphicsItem *
|
||||
QStyleOptionGraphicsItem myOption(*option);
|
||||
myOption.state &= ~QStyle::State_Selected;
|
||||
|
||||
// painter->setPen(Qt::red);
|
||||
// painter->drawRect(boundingRect()); //good for debugging
|
||||
painter->setPen(Qt::red);
|
||||
painter->drawRect(boundingRect()); //good for debugging
|
||||
|
||||
QGIView::paint (painter, &myOption, widget);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user