summaryrefslogtreecommitdiff
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, 4 insertions, 4 deletions
diff --git a/src/location/declarativemaps/qdeclarativerectanglemapitem.cpp b/src/location/declarativemaps/qdeclarativerectanglemapitem.cpp
index d4e5ce38..5594ef22 100644
--- a/src/location/declarativemaps/qdeclarativerectanglemapitem.cpp
+++ b/src/location/declarativemaps/qdeclarativerectanglemapitem.cpp
@@ -150,10 +150,10 @@ QDeclarativeRectangleMapItem::QDeclarativeRectangleMapItem(QQuickItem *parent)
// ToDo: handle envvar, and switch implementation.
m_itemType = QGeoMap::MapRectangle;
setFlag(ItemHasContents, true);
- QObject::connect(&m_border, SIGNAL(colorChanged(QColor)),
- this, SLOT(onLinePropertiesChanged()));
- QObject::connect(&m_border, SIGNAL(widthChanged(qreal)),
- this, SLOT(onLinePropertiesChanged()));
+ QObject::connect(&m_border, &QDeclarativeMapLineProperties::colorChanged,
+ this, &QDeclarativeRectangleMapItem::onLinePropertiesChanged);
+ QObject::connect(&m_border, &QDeclarativeMapLineProperties::widthChanged,
+ this, &QDeclarativeRectangleMapItem::onLinePropertiesChanged);
setBackend(mapRectangleBackendSelector->backend);
}