From 1e3192fc48f9af4da1a8d985b78d35cfdaa70011 Mon Sep 17 00:00:00 2001 From: canpadawan Date: Mon, 18 Jul 2016 17:12:14 +0200 Subject: [PATCH] removed extra "\r" --- canframemodel.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/canframemodel.cpp b/canframemodel.cpp index 799ae10..fa3aba7 100644 --- a/canframemodel.cpp +++ b/canframemodel.cpp @@ -227,15 +227,15 @@ QVariant CANFrameModel::data(const QModelIndex &index, int role) const DBC_MESSAGE *msg = dbcHandler->findMessage(thisFrame); if (msg != NULL) { - tempString.append("\r\n"); - tempString.append(msg->name + " " + msg->comment + "\r\n"); + tempString.append("\n"); + tempString.append(msg->name + " " + msg->comment + "\n"); for (int j = 0; j < msg->sigHandler->getCount(); j++) { QString sigString; if (msg->sigHandler->findSignalByIdx(j)->processAsText(thisFrame, sigString)) { tempString.append(sigString); - tempString.append("\r\n"); + tempString.append("\n"); } } }