example 'meshtastic': some fixes

This commit is contained in:
pls.153 2023-08-01 16:34:04 +02:00
parent 4c39d57633
commit 05bec3c58b
4 changed files with 15 additions and 8 deletions

View file

@ -101,7 +101,7 @@ QVariant QT::lastPosition() {
#ifdef Q_OS_ANDROID
pos << getDoubleField("_position_lat_")
<< getDoubleField("_position_lon_")
<< QString::number(getLongField("_position_time_")); // 'QString': see QML 'lastPosition()'
<< QString::number(getLongField("_position_time_") / 1000); // 'QString': see QML 'lastPosition()'
#endif
return pos;
}