From 9bc27f4d04260c6c68fec8457d496972bbca506f Mon Sep 17 00:00:00 2001 From: Ivailo Monev Date: Mon, 26 Jul 2021 01:58:40 +0300 Subject: [PATCH] kdecore: mark KDebugPrivate::level() as const Signed-off-by: Ivailo Monev --- kdecore/io/kdebug.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kdecore/io/kdebug.cpp b/kdecore/io/kdebug.cpp index 9d18d983..05ac127f 100644 --- a/kdecore/io/kdebug.cpp +++ b/kdecore/io/kdebug.cpp @@ -280,7 +280,7 @@ struct KDebugPrivate file.close(); } - inline int level(QtMsgType type) + inline int level(QtMsgType type) const { return int(type) - int(QtDebugMsg); } QString groupNameForArea(unsigned int area) const