Kaydet (Commit) 59e26784 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Any reason to use IsHeadlessModeRequested here?

IsHeadlessModeEnabled should work just as well, given that
Desktop::RegisterServices (desktop/source/app/appinit.cxx) calls
EnableHeadlessMode if IsHeadless

Change-Id: I4ffd8e6e3a37a8929620418e97854106ea937c9f
üst b63810cf
...@@ -336,7 +336,7 @@ void SdDLL::Init() ...@@ -336,7 +336,7 @@ void SdDLL::Init()
// register your exotic remote controls here // register your exotic remote controls here
#ifdef ENABLE_SDREMOTE #ifdef ENABLE_SDREMOTE
if ( !Application::IsHeadlessModeRequested() ) if ( !Application::IsHeadlessModeEnabled() )
RegisterRemotes(); RegisterRemotes();
#endif #endif
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment