From 2064d636bd8cb62a0b6276586186d992abf23993 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrick=20Jos=C3=A9=20Pereira?= Date: Thu, 27 Jun 2019 15:49:17 -0300 Subject: [PATCH] MATLinkDecoder: Remove empty string from QString constructor MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Patrick José Pereira --- src/ui/MAVLinkDecoder.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/MAVLinkDecoder.cc b/src/ui/MAVLinkDecoder.cc index 9c2152396..6472dda22 100644 --- a/src/ui/MAVLinkDecoder.cc +++ b/src/ui/MAVLinkDecoder.cc @@ -227,7 +227,7 @@ void MAVLinkDecoder::emitFieldValue(mavlink_message_t* msg, int fieldid, quint64 QString fieldType; uint8_t* m = (uint8_t*)(msgDict[msgid].payload64); QString name("%1.%2"); - QString unit(""); + QString unit; // Debug vector messages if (msgid == MAVLINK_MSG_ID_DEBUG_VECT) -- 2.22.0