summaryrefslogtreecommitdiffstats
path: root/src/config.h
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2008-12-06 16:00:07 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2008-12-06 16:00:07 (GMT)
commit752d21c112291e2a2e3bfa82a915b3c091965bfb (patch)
tree76ffc77ee3c3548adca2711a1ad2ba2d0595ae70 /src/config.h
parentb35a84b39214af8340a75ea086df299a2c3343e3 (diff)
downloadDoxygen-752d21c112291e2a2e3bfa82a915b3c091965bfb.zip
Doxygen-752d21c112291e2a2e3bfa82a915b3c091965bfb.tar.gz
Doxygen-752d21c112291e2a2e3bfa82a915b3c091965bfb.tar.bz2
Release-1.5.7.1-20081206
Diffstat (limited to 'src/config.h')
-rw-r--r--src/config.h5
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;