ALL: Don't use EventRecorder at all when not compiled in
This commit is contained in:
parent
bd82ca97c2
commit
4a7e4e5b22
9 changed files with 61 additions and 59 deletions
|
@ -258,8 +258,10 @@ void GuiManager::runLoop() {
|
|||
if (activeDialog == 0)
|
||||
return;
|
||||
|
||||
#ifdef ENABLE_EVENTRECORDER
|
||||
// Suspend recording while GUI is shown
|
||||
g_eventRec.suspendRecording();
|
||||
#endif
|
||||
|
||||
if (!_stateIsSaved) {
|
||||
saveState();
|
||||
|
@ -361,8 +363,10 @@ void GuiManager::runLoop() {
|
|||
_useStdCursor = false;
|
||||
}
|
||||
|
||||
#ifdef ENABLE_EVENTRECORDER
|
||||
// Resume recording once GUI is shown
|
||||
g_eventRec.resumeRecording();
|
||||
#endif
|
||||
}
|
||||
|
||||
#pragma mark -
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue