summaryrefslogtreecommitdiffstats
path: root/addon/doxywizard/inputstring.cpp
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2020-12-16 10:02:47 (GMT)
committeralbert-github <albert.tests@gmail.com>2020-12-16 10:02:47 (GMT)
commitf573b414b482a01e87869a277cdb913d173fc925 (patch)
tree673fcfe296c39129da4c929e332727e40c0ed63d /addon/doxywizard/inputstring.cpp
parent7b2e841b3a3d7d787458f236e2447c890cfbf590 (diff)
downloadDoxygen-f573b414b482a01e87869a277cdb913d173fc925.zip
Doxygen-f573b414b482a01e87869a277cdb913d173fc925.tar.gz
Doxygen-f573b414b482a01e87869a277cdb913d173fc925.tar.bz2
Improvements of reading the configuration file
- making the parsing of the configuration consistent with the reading of the configuration file a doxygen run - adding a number of warnings in case of problems in the configuration file - making the configuration warnings better visible (popping up the "Output log Window").
Diffstat (limited to 'addon/doxywizard/inputstring.cpp')
-rw-r--r--addon/doxywizard/inputstring.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/addon/doxywizard/inputstring.cpp b/addon/doxywizard/inputstring.cpp
index 5324085..ac76342 100644
--- a/addon/doxywizard/inputstring.cpp
+++ b/addon/doxywizard/inputstring.cpp
@@ -13,6 +13,7 @@
#include "inputstring.h"
#include "helplabel.h"
#include "doxywizard.h"
+#include "config_msg.h"
#include "config.h"
#include <QComboBox>
@@ -268,5 +269,7 @@ QString InputString::checkEnumVal(const QString &value)
if (enumVal.toLower() == val) return enumVal;
}
+ config_warn("argument '%s' for option %s is not a valid enum value."
+ " Using the default: %s!",qPrintable(value),qPrintable(m_id),qPrintable(m_default));
return m_default;
}