qdoc: Make extraimages behave like styles and scripts

This configuration variable now assumes its values,
if relative, are relative to the config file that
contains the extraimages variable.

Task-number: QTBUG-28307
Change-Id: I9b34d1f456b31e36ac77401b957b68cd10590376
Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
This commit is contained in:
Martin Smith 2012-12-05 12:09:51 +01:00 committed by The Qt Project
parent fd4106e2d1
commit e77eec1cf7

View File

@ -1529,9 +1529,9 @@ void Generator::initialize(const Config &config)
if (outputFormats.contains((*g)->format())) {
currentGenerator_ = (*g);
(*g)->initializeGenerator(config);
QStringList extraImages = config.getCleanPathList((*g)->format() +
Config::dot +
CONFIG_EXTRAIMAGES);
QStringList extraImages = config.getPathList((*g)->format() +
Config::dot +
CONFIG_EXTRAIMAGES);
QStringList::ConstIterator e = extraImages.constBegin();
while (e != extraImages.constEnd()) {
QString filePath = *e;