GUI: move kDebugLevelEventRec flag to global flag

This commit is contained in:
ysj1173886760 2021-05-15 20:43:46 +08:00 committed by Eugene Sandulenko
parent 3ad0a9573a
commit 7a0d9546ce
2 changed files with 1 additions and 2 deletions

View File

@ -168,6 +168,7 @@ enum GlobalDebugLevels {
static const DebugChannelDef globalDebugChannels[] = {
{kDebugGlobalTest, "test", "test global debug flag"},
{kDebugLevelEventRec, "EventRec", "Event recorder debug level"},
DEBUG_CHANNEL_END
};

View File

@ -88,8 +88,6 @@ EventRecorder::EventRecorder() {
_lastScreenshotTime = 0;
_screenshotPeriod = 0;
_playbackFile = nullptr;
DebugMan.addDebugChannel(kDebugLevelEventRec, "EventRec", "Event recorder debug level");
}
EventRecorder::~EventRecorder() {