diff options
-rw-r--r-- | src/qdoc/location.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/qdoc/location.cpp b/src/qdoc/location.cpp index ccaa19f77..d8f637eb3 100644 --- a/src/qdoc/location.cpp +++ b/src/qdoc/location.cpp @@ -325,7 +325,8 @@ void Location::initialize() tabSize = config.getInt(CONFIG_TABSIZE); programName = config.programName(); project = config.getString(CONFIG_PROJECT); - warningCount = 0; + if (!config.singleExec()) + warningCount = 0; if (qEnvironmentVariableIsSet("QDOC_ENABLE_WARNINGLIMIT") || config.getBool(CONFIG_WARNINGLIMIT + Config::dot + "enabled")) warningLimit = config.getInt(CONFIG_WARNINGLIMIT); |