summaryrefslogtreecommitdiff
path: root/src/positioning
diff options
context:
space:
mode:
authorJesus Fernandez <jesus.fernandez@qt.io>2019-01-22 15:45:20 +0100
committerJesus Fernandez <Jesus.Fernandez@qt.io>2019-01-23 11:53:14 +0000
commit20a64642c1c4a535b750e8b86435141ca432b050 (patch)
tree4287c9def6419a5522a69c47e4a5399c8aae8010 /src/positioning
parent8fbab5c949bf0fe1ec5e1e452a9c475681d7edc4 (diff)
downloadqtlocation-20a64642c1c4a535b750e8b86435141ca432b050.tar.gz
Unify semicolon usage in Q_UNUSED
Change-Id: I36dd6881b6f6f028869d63b6311cba7f52a99cc4 Reviewed-by: Paolo Angelelli <paolo.angelelli@qt.io>
Diffstat (limited to 'src/positioning')
-rw-r--r--src/positioning/doc/snippets/cpp/cppqml.cpp4
-rw-r--r--src/positioning/qnmeapositioninfosource.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/positioning/doc/snippets/cpp/cppqml.cpp b/src/positioning/doc/snippets/cpp/cppqml.cpp
index 3db55714..c3d0139e 100644
--- a/src/positioning/doc/snippets/cpp/cppqml.cpp
+++ b/src/positioning/doc/snippets/cpp/cppqml.cpp
@@ -103,14 +103,14 @@ public:
public Q_SLOTS:
void areaEntered(const QGeoAreaMonitorInfo &mon, const QGeoPositionInfo &update)
{
- Q_UNUSED(mon)
+ Q_UNUSED(mon);
qDebug() << "Now within 100 meters, current position is" << update.coordinate();
}
void areaExited(const QGeoAreaMonitorInfo &mon, const QGeoPositionInfo &update)
{
- Q_UNUSED(mon)
+ Q_UNUSED(mon);
qDebug() << "No longer within 100 meters, current position is" << update.coordinate();
}
diff --git a/src/positioning/qnmeapositioninfosource.cpp b/src/positioning/qnmeapositioninfosource.cpp
index 0b8c3ede..58d935f3 100644
--- a/src/positioning/qnmeapositioninfosource.cpp
+++ b/src/positioning/qnmeapositioninfosource.cpp
@@ -146,7 +146,7 @@ static bool mergePositions(QGeoPositionInfo &dst, const QGeoPositionInfo &src, Q
QGeoPositionInfoPrivateNmea *dstPimpl = static_cast<QGeoPositionInfoPrivateNmea *>(QGeoPositionInfoPrivate::get(dst));
dstPimpl->nmeaSentences.append(nmeaSentence);
#else
- Q_UNUSED(nmeaSentence)
+ Q_UNUSED(nmeaSentence);
#endif
return updated;
}