Added VER_LAMEXP_CONSOLE_ENABLED config option.
This commit is contained in:
parent
f85afb6627
commit
2bd468ee76
@ -42,6 +42,7 @@
|
|||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#define VER_LAMEXP_PORTABLE_EDITION 0
|
#define VER_LAMEXP_PORTABLE_EDITION 0
|
||||||
|
#define VER_LAMEXP_CONSOLE_ENABLED 0
|
||||||
|
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
// Tool versions (minimum expected versions!)
|
// Tool versions (minimum expected versions!)
|
||||||
|
@ -618,7 +618,7 @@ void lamexp_message_handler(QtMsgType type, const char *msg)
|
|||||||
*/
|
*/
|
||||||
void lamexp_init_console(const QStringList &argv)
|
void lamexp_init_console(const QStringList &argv)
|
||||||
{
|
{
|
||||||
bool enableConsole = lamexp_version_demo();
|
bool enableConsole = (VER_LAMEXP_CONSOLE_ENABLED) && lamexp_version_demo();
|
||||||
|
|
||||||
if(_environ)
|
if(_environ)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user