summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Grunenberg <[email protected]>2015-06-08 22:02:32 +0200
committerDennis Nienhüser <[email protected]>2015-06-08 22:05:48 +0200
commita7482b5381f22640add20ba1b190e60d7715b400 (patch)
tree22a7536912957595eb7d6fbc70f7b830e95bb2c8
parent38a11f75c20e284200fc14219a185fcb104c6686 (diff)
Fix wrong decoding (longitude calculation) of some MIC-E positions
BUG: 348209 FIXED-IN: Applications/15.04.3 (cherry picked from commit 7a411f40362675ea6ba4813b8baa0f4128b5860d)
-rw-r--r--src/plugins/render/aprs/AprsGatherer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/render/aprs/AprsGatherer.cpp b/src/plugins/render/aprs/AprsGatherer.cpp
index ee0d1d3..106099e 100644
--- a/src/plugins/render/aprs/AprsGatherer.cpp
+++ b/src/plugins/render/aprs/AprsGatherer.cpp
@@ -170,8 +170,8 @@ AprsGatherer::run()
qreal longitude =
calculateLongitude( QString ( mic_e_matcher.cap( 4 ) ),
- m_dstCallLongitudeOffset[dstCall[5]],
- m_dstCallSouthEast[dstCall[6]] );
+ m_dstCallLongitudeOffset[dstCall[4]],
+ m_dstCallSouthEast[dstCall[5]] );
// mDebug() << " MIC-E: " << line.toLocal8Bit().data();
// mDebug() << " lat: " << latitude;