Remove ctor args from QGIView and descendents.

This commit is contained in:
Ian Rees
2016-06-06 19:13:38 +12:00
committed by wmayer
parent 4fe9267eeb
commit b883434318
21 changed files with 63 additions and 82 deletions

View File

@@ -55,8 +55,7 @@
using namespace TechDrawGui;
QGIViewAnnotation::QGIViewAnnotation(const QPoint &pos, QGraphicsScene *scene)
:QGIView(pos, scene)
QGIViewAnnotation::QGIViewAnnotation()
{
setHandlesChildEvents(false);
setCacheMode(QGraphicsItem::NoCache);
@@ -73,10 +72,6 @@ QGIViewAnnotation::QGIViewAnnotation(const QPoint &pos, QGraphicsScene *scene)
}
QGIViewAnnotation::~QGIViewAnnotation()
{
// m_textItem belongs to this group and will be deleted by Qt
}
QVariant QGIViewAnnotation::itemChange(GraphicsItemChange change, const QVariant &value)
{