kdecore: mark KDebugPrivate::level() as const

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2021-07-26 01:58:40 +03:00
parent 67a8004abd
commit 9bc27f4d04

View file

@ -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