summaryrefslogtreecommitdiffstats
path: root/src/location/declarativemaps/qdeclarativerectanglemapitem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/location/declarativemaps/qdeclarativerectanglemapitem.cpp')
-rw-r--r--src/location/declarativemaps/qdeclarativerectanglemapitem.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/location/declarativemaps/qdeclarativerectanglemapitem.cpp b/src/location/declarativemaps/qdeclarativerectanglemapitem.cpp
index b151d135..03f7f846 100644
--- a/src/location/declarativemaps/qdeclarativerectanglemapitem.cpp
+++ b/src/location/declarativemaps/qdeclarativerectanglemapitem.cpp
@@ -122,10 +122,6 @@ QDeclarativeRectangleMapItem::QDeclarativeRectangleMapItem(QQuickItem *parent)
this, SLOT(markSourceDirtyAndUpdate()));
QObject::connect(&border_, SIGNAL(widthChanged(qreal)),
this, SLOT(markSourceDirtyAndUpdate()));
- QObject::connect(&border_, SIGNAL(colorChanged(QColor)),
- this, SLOT(markGeoMaterialDirty()));
- QObject::connect(&border_, SIGNAL(widthChanged(qreal)),
- this, SLOT(markGeoMaterialDirty()));
}
QDeclarativeRectangleMapItem::~QDeclarativeRectangleMapItem()
@@ -171,7 +167,6 @@ void QDeclarativeRectangleMapItem::setTopLeft(const QGeoCoordinate &topLeft)
return;
rectangle_.setTopLeft(topLeft);
- markGeoGeometryDirty();
markSourceDirtyAndUpdate();
emit topLeftChanged(topLeft);
}
@@ -203,7 +198,6 @@ void QDeclarativeRectangleMapItem::setBottomRight(const QGeoCoordinate &bottomRi
return;
rectangle_.setBottomRight(bottomRight);
- markGeoGeometryDirty();
markSourceDirtyAndUpdate();
emit bottomRightChanged(bottomRight);
}
@@ -230,7 +224,6 @@ void QDeclarativeRectangleMapItem::setColor(const QColor &color)
return;
color_ = color;
dirtyMaterial_ = true;
- geoMaterialDirty_ = true;
polishAndUpdate();
emit colorChanged(color_);
}
@@ -378,7 +371,6 @@ void QDeclarativeRectangleMapItem::geometryChanged(const QRectF &newGeometry, co
rectangle_.translate(offsetLati, offsetLongi);
geometry_.setPreserveGeometry(true, rectangle_.topLeft());
borderGeometry_.setPreserveGeometry(true, rectangle_.topLeft());
- markGeoGeometryDirty();
markSourceDirtyAndUpdate();
emit topLeftChanged(rectangle_.topLeft());
emit bottomRightChanged(rectangle_.bottomRight());