From 183a35ee554fd2034acbc5ac91e32abd046d5de1 Mon Sep 17 00:00:00 2001
From: Thomas Habets <thomas@habets.se>
Date: Sat, 21 Dec 2019 19:38:44 +0000
Subject: Remove newlines from exception messages

---
 gr-qtgui/lib/TimeDomainDisplayPlot.cc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'gr-qtgui/lib/TimeDomainDisplayPlot.cc')

diff --git a/gr-qtgui/lib/TimeDomainDisplayPlot.cc b/gr-qtgui/lib/TimeDomainDisplayPlot.cc
index 4b60871f0a..f1272991bb 100644
--- a/gr-qtgui/lib/TimeDomainDisplayPlot.cc
+++ b/gr-qtgui/lib/TimeDomainDisplayPlot.cc
@@ -427,7 +427,7 @@ void TimeDomainDisplayPlot::legendEntryChecked(const QVariant& plotItem,
 {
 #if QWT_VERSION < 0x060100
     std::runtime_error("TimeDomainDisplayPlot::legendEntryChecked with QVariant not "
-                       "enabled in this version of QWT.\n");
+                       "enabled in this version of QWT.");
 #else
     QwtPlotItem* p = infoToItem(plotItem);
     legendEntryChecked(p, on);
@@ -567,7 +567,7 @@ void TimeDomainDisplayPlot::enableTagMarker(unsigned int which, bool en)
         d_tag_markers_en[which] = en;
     else
         throw std::runtime_error(
-            "TimeDomainDisplayPlot: enabled tag marker does not exist.\n");
+            "TimeDomainDisplayPlot: enabled tag marker does not exist.");
 }
 
 const QColor TimeDomainDisplayPlot::getTagTextColor() { return d_tag_text_color; }
-- 
cgit v1.2.3