Changed: Don't log nldebug in Release

This commit is contained in:
kervala 2015-11-09 12:46:02 +01:00
parent 95f7448dd2
commit b0916cf1de

View file

@ -366,6 +366,11 @@ int main(int argc, char **argv)
// init the Nel context // init the Nel context
CApplicationContext *appContext = new CApplicationContext; CApplicationContext *appContext = new CApplicationContext;
// disable nldebug messages in logs in Release
#ifdef NL_RELEASE
DisableNLDebug = true;
#endif
createDebug(); createDebug();
INelContext::getInstance().setWindowedApplication(true); INelContext::getInstance().setWindowedApplication(true);