diff options
author | Daniel Molkentin <daniel.molkentin@nokia.com> | 2011-08-16 14:56:18 +0200 |
---|---|---|
committer | Eike Ziller <eike.ziller@nokia.com> | 2011-08-16 16:05:08 +0200 |
commit | f2a33a5927f6193105d79c25f2b8411653f3e8c3 (patch) | |
tree | d596f2ee8aa2bbf1b0e79a0033d97ed4954b8e66 /src | |
parent | 17f0be9b2f624aa47b088707df9eaa1d5381778b (diff) |
Show images also for examples
Change-Id: Ic67eea8abb19ab9e398d68cf568a1c99acfb6564
Reviewed-on: http://codereview.qt.nokia.com/3033
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/qtsupport/exampleslistmodel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/qtsupport/exampleslistmodel.cpp b/src/plugins/qtsupport/exampleslistmodel.cpp index 8c032d6ba56..662ee833524 100644 --- a/src/plugins/qtsupport/exampleslistmodel.cpp +++ b/src/plugins/qtsupport/exampleslistmodel.cpp @@ -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)); |