diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2008-12-06 16:00:07 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2008-12-06 16:00:07 (GMT) |
commit | b2ff175fbaa113d17cc8c0873220580df1887b97 (patch) | |
tree | 76ffc77ee3c3548adca2711a1ad2ba2d0595ae70 /src/config.h | |
parent | 78a0accf99eacf0a620cfad40c003be3be7bcd97 (diff) | |
download | Doxygen-b2ff175fbaa113d17cc8c0873220580df1887b97.zip Doxygen-b2ff175fbaa113d17cc8c0873220580df1887b97.tar.gz Doxygen-b2ff175fbaa113d17cc8c0873220580df1887b97.tar.bz2 |
Release-1.5.7.1-20081206
Diffstat (limited to 'src/config.h')
-rw-r--r-- | src/config.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/config.h b/src/config.h index e2cf96b..f87b2ba 100644 --- a/src/config.h +++ b/src/config.h @@ -342,7 +342,8 @@ class ConfigBool : public ConfigOption class ConfigObsolete : public ConfigOption { public: - ConfigObsolete(OptionType t) : ConfigOption(t) {} + ConfigObsolete(const char *name,OptionType t) : ConfigOption(t) + { m_name = name; } void writeTemplate(QTextStream &,bool,bool) {} void substEnvVars() {} void writeXML(QTextStream&); @@ -523,7 +524,7 @@ class Config /*! Adds an option that has become obsolete. */ ConfigOption *addObsolete(const char *name) { - ConfigObsolete *option = new ConfigObsolete(ConfigOption::O_Obsolete); + ConfigObsolete *option = new ConfigObsolete(name,ConfigOption::O_Obsolete); m_dict->insert(name,option); m_obsolete->append(option); return option; |