Added VER_LAMEXP_CONSOLE_ENABLED config option.

This commit is contained in:
LoRd_MuldeR 2013-06-16 14:00:56 +02:00
parent f85afb6627
commit 2bd468ee76
2 changed files with 2 additions and 1 deletions

View File

@ -42,6 +42,7 @@
///////////////////////////////////////////////////////////////////////////////
#define VER_LAMEXP_PORTABLE_EDITION 0
#define VER_LAMEXP_CONSOLE_ENABLED 0
///////////////////////////////////////////////////////////////////////////////
// Tool versions (minimum expected versions!)

View File

@ -618,7 +618,7 @@ void lamexp_message_handler(QtMsgType type, const char *msg)
*/
void lamexp_init_console(const QStringList &argv)
{
bool enableConsole = lamexp_version_demo();
bool enableConsole = (VER_LAMEXP_CONSOLE_ENABLED) && lamexp_version_demo();
if(_environ)
{