summaryrefslogtreecommitdiff
blob: 27acb5d8ffba24872a10fc14db40aa6ba51c6408 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
From 9808ae3279e5816dcc85cf8f21158ecf842dc185 Mon Sep 17 00:00:00 2001
From: Alexander Lopatin <alopatindev@gmail.com>
Date: Sat, 11 Jul 2020 03:18:14 +0300
Subject: [PATCH] Fix "dev-util/qdevicemonitor-1.0.1-r2 : main.cpp: error:
 QTextStream& QTextStreamFunctions::endl(QTextStream&) is deprecated: Use
 Qt::endl [-Werror=deprecated-declarations]" https://bugs.gentoo.org/732088

---
 qdevicemonitor/main.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/qdevicemonitor/main.cpp b/qdevicemonitor/main.cpp
index 46f80a5..9d3fe73 100644
--- a/qdevicemonitor/main.cpp
+++ b/qdevicemonitor/main.cpp
@@ -43,7 +43,7 @@ void logOutput(QtMsgType type, const QMessageLogContext& context, const QString&
             << ")";
     }
 
-    out << endl;
+    out << Qt::endl;
 }
 
 int main(int argc, char* argv[])
-- 
2.26.2