Skip to content

Commit

Permalink
[QtLocation] Register needed metatypes. Contributes to JB#36989
Browse files Browse the repository at this point in the history
The invokable methods require QList<int> Q_ARG params, so that type
needs to be registered as a metatype.

Contributes to JB#36989
  • Loading branch information
Chris Adams committed Nov 23, 2016
1 parent fbbb613 commit 683beaf
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -170,6 +170,7 @@ QGeoSatelliteInfoSourceGeoclueMaster::QGeoSatelliteInfoSourceGeoclueMaster(QObje
m_satellitesChangedConnected(false), m_running(false)
{
qRegisterMetaType<QList<QGeoSatelliteInfo> >("QList<QGeoSatelliteInfo>");
qRegisterMetaType<QList<int> >("QList<int>");
m_requestTimer.setSingleShot(true);
connect(&m_requestTimer, SIGNAL(timeout()), this, SLOT(requestUpdateTimeout()));
}
Expand Down

0 comments on commit 683beaf

Please sign in to comment.