summaryrefslogtreecommitdiffstats
path: root/src/configimpl.h
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2016-05-16 15:05:25 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2016-05-16 15:05:25 (GMT)
commit14b04be2af279e1093f17d6b933d1e9ab530e128 (patch)
treef61bcb5f9390dd7bf7a7620204a6a3aa7980930f /src/configimpl.h
parent2f8c5b9aef91ac42874aa06481c0fe2220503c3c (diff)
downloadDoxygen-14b04be2af279e1093f17d6b933d1e9ab530e128.zip
Doxygen-14b04be2af279e1093f17d6b933d1e9ab530e128.tar.gz
Doxygen-14b04be2af279e1093f17d6b933d1e9ab530e128.tar.bz2
Bug 766069 - Files with incorrect extensions (.doc) are picked up by doxygen
Diffstat (limited to 'src/configimpl.h')
-rw-r--r--src/configimpl.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/configimpl.h b/src/configimpl.h
index 4dd96be..c901198 100644
--- a/src/configimpl.h
+++ b/src/configimpl.h
@@ -119,15 +119,16 @@ class ConfigList : public ConfigOption
m_doc = doc;
m_widgetType = String;
}
- void addValue(const char *v) { m_value.append(v); }
+ void addValue(const char *v) { m_defaultValue.append(v); }
void setWidgetType(WidgetType w) { m_widgetType = w; }
WidgetType widgetType() const { return m_widgetType; }
QStrList *valueRef() { return &m_value; }
void writeTemplate(FTextStream &t,bool sl,bool);
void substEnvVars();
- void init() { m_value.clear(); }
+ void init() { m_value = m_defaultValue; }
private:
QStrList m_value;
+ QStrList m_defaultValue;
WidgetType m_widgetType;
};