Commit 904ad3fb authored by Dimitri van Heesch's avatar Dimitri van Heesch
Browse files

Disabled config dependency check to avoid regression

parent 2bd3c0ef
Loading
Loading
Loading
Loading
+4 −0
Original line number Original line Diff line number Diff line
@@ -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;
@@ -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()