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/DisplayPlot.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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

diff --git a/gr-qtgui/lib/DisplayPlot.cc b/gr-qtgui/lib/DisplayPlot.cc
index 2989b1aaf8..f2cbf34315 100644
--- a/gr-qtgui/lib/DisplayPlot.cc
+++ b/gr-qtgui/lib/DisplayPlot.cc
@@ -414,7 +414,7 @@ void DisplayPlot::legendEntryChecked(const QVariant& plotItem, bool on, int inde
 {
 #if QWT_VERSION < 0x060100
     std::runtime_error("DisplayPlot::legendEntryChecked with QVariant not enabled in "
-                       "this version of QWT.\n");
+                       "this version of QWT.");
 #else
     QwtPlotItem* p = infoToItem(plotItem);
     legendEntryChecked(p, on);
-- 
cgit v1.2.3