kdecore: replace hard-codec KDebug output types with enums

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2022-11-27 02:44:44 +02:00
parent 945f411733
commit f80529f5cd

View file

@ -368,10 +368,10 @@ class KDebugAreaCache
{ {
public: public:
KDebugAreaCache() KDebugAreaCache()
: infooutput(4), : infooutput(KDebugType::TypeOff),
warnoutput(2), warnoutput(KDebugType::TypeShell),
erroroutput(2), erroroutput(KDebugType::TypeShell),
fataloutput(2), fataloutput(KDebugType::TypeShell),
infofilename(s_kdebugfilepath), infofilename(s_kdebugfilepath),
warnfilename(s_kdebugfilepath), warnfilename(s_kdebugfilepath),
errorfilename(s_kdebugfilepath), errorfilename(s_kdebugfilepath),