Loading src/config.l +4 −0 Original line number Original line Diff line number Diff line Loading @@ -1591,6 +1591,8 @@ void Config::check() checkFileName("GENERATE_TAGFILE"); checkFileName("GENERATE_TAGFILE"); #if 0 // TODO: this breaks test 25; SOURCEBROWSER = NO and SOURCE_TOOLTIPS = YES. // So this and other regressions should be analysed and fixed before this can be enabled // disable any boolean options that depend on disabled options // disable any boolean options that depend on disabled options QListIterator<ConfigOption> it = iterator(); QListIterator<ConfigOption> it = iterator(); ConfigOption *option; ConfigOption *option; Loading @@ -1605,11 +1607,13 @@ void Config::check() { { if (option->kind()==ConfigOption::O_Bool) if (option->kind()==ConfigOption::O_Bool) { { printf("disabling option %s\n",option->name().data()); Config_getBool(option->name())=FALSE; // also disable this option Config_getBool(option->name())=FALSE; // also disable this option } } } } } } } } #endif } } void Config::init() void Config::init() Loading Loading
src/config.l +4 −0 Original line number Original line Diff line number Diff line Loading @@ -1591,6 +1591,8 @@ void Config::check() checkFileName("GENERATE_TAGFILE"); checkFileName("GENERATE_TAGFILE"); #if 0 // TODO: this breaks test 25; SOURCEBROWSER = NO and SOURCE_TOOLTIPS = YES. // So this and other regressions should be analysed and fixed before this can be enabled // disable any boolean options that depend on disabled options // disable any boolean options that depend on disabled options QListIterator<ConfigOption> it = iterator(); QListIterator<ConfigOption> it = iterator(); ConfigOption *option; ConfigOption *option; Loading @@ -1605,11 +1607,13 @@ void Config::check() { { if (option->kind()==ConfigOption::O_Bool) if (option->kind()==ConfigOption::O_Bool) { { printf("disabling option %s\n",option->name().data()); Config_getBool(option->name())=FALSE; // also disable this option Config_getBool(option->name())=FALSE; // also disable this option } } } } } } } } #endif } } void Config::init() void Config::init() Loading