diff options
author | Samuel Gaist <samuel.gaist@idiap.ch> | 2022-10-25 22:53:32 +0200 |
---|---|---|
committer | Samuel Gaist <samuel.gaist@idiap.ch> | 2022-12-21 21:52:17 +0100 |
commit | c47e2aebb6a3d188fb2b16da4ae42804fc0df39f (patch) | |
tree | d08d39d10e827610b5c934854b770ddbbcc541f9 /examples/embedded/lightmaps | |
parent | abe3bc1c432e670fc1244a643b720c1b6a2d56f6 (diff) |
examples: port embedded examples to new connection style
Task-number: QTBUG-106893
Change-Id: I6d00c53b7747b36c5f0094e566713f13fe74f3de
Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'examples/embedded/lightmaps')
-rw-r--r-- | examples/embedded/lightmaps/lightmaps.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/embedded/lightmaps/lightmaps.cpp b/examples/embedded/lightmaps/lightmaps.cpp index 5f62f926b4..566ba243ee 100644 --- a/examples/embedded/lightmaps/lightmaps.cpp +++ b/examples/embedded/lightmaps/lightmaps.cpp @@ -24,8 +24,8 @@ LightMaps::LightMaps(QWidget *parent) { m_normalMap = new SlippyMap(this); m_largeMap = new SlippyMap(this); - connect(m_normalMap, SIGNAL(updated(QRect)), SLOT(updateMap(QRect))); - connect(m_largeMap, SIGNAL(updated(QRect)), SLOT(update())); + connect(m_normalMap, &SlippyMap::updated, this, &LightMaps::updateMap); + connect(m_largeMap, &SlippyMap::updated, this, &LightMaps::updateMap); } void LightMaps::setCenter(qreal lat, qreal lng) |