Correction de la documentation : noms de variables ignores ou non mentionnes

Correction d'un probleme de compilation si les options QET_ALLOW_OVERRIDE_CED_OPTION et/ou QET_ALLOW_OVERRIDE_CD_OPTION n'etaient pas actives.


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@782 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
xavier
2009-10-24 20:47:13 +00:00
parent 54734ed30f
commit 0ad0013286
39 changed files with 112 additions and 79 deletions

View File

@@ -156,14 +156,18 @@ void QETArguments::clear() {
element_files_.clear();
options_.clear();
unknown_options_.clear();
#ifdef QET_ALLOW_OVERRIDE_CED_OPTION
common_elements_dir_.clear();
#endif
#ifdef QET_ALLOW_OVERRIDE_CD_OPTION
config_dir_.clear();
#endif
}
/**
Analyse des arguments et les retient dans cet objet.
Si cet objet contenait deja des arguments, ceux-ci sont oublies.
@param args Arguments a analyser
@param arguments Arguments a analyser
*/
void QETArguments::parseArguments(const QList<QString> &arguments) {
// oublie les eventuels arguments precedents