Commit f2a33a59 authored by Daniel Molkentin's avatar Daniel Molkentin Committed by Eike Ziller

Show images also for examples

Change-Id: Ic67eea8abb19ab9e398d68cf568a1c99acfb6564
Reviewed-on: http://codereview.qt.nokia.com/3033Reviewed-by: default avatarQt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: default avatarEike Ziller <eike.ziller@nokia.com>
parent 17f0be9b
......@@ -89,7 +89,7 @@ QList<ExampleItem> ExamplesListModel::parseExamples(QXmlStreamReader* reader, co
item.hasSourceCode = !item.projectPath.isEmpty();
item.projectPath.prepend('/');
item.projectPath.prepend(projectsOffset);
item.imageUrl = attributes.value(QLatin1String("imagePath")).toString();
item.imageUrl = attributes.value(QLatin1String("imageUrl")).toString();
item.docUrl = attributes.value(QLatin1String("docUrl")).toString();
} else if (reader->name() == QLatin1String("fileToOpen")) {
item.filesToOpen.append(projectsOffset + '/' + reader->readElementText(QXmlStreamReader::ErrorOnUnexpectedElement));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment