Commit 61edaf77 authored by Thomas Hartmann's avatar Thomas Hartmann
Browse files

QmlDesigneritemLibrary: relax condition for entriesForType()

>= is makes more sense for providing icons etc...
parent 71df9a61
......@@ -253,8 +253,8 @@ QList<ItemLibraryEntry> ItemLibraryInfo::entriesForType(const QString &typeName,
foreach (const ItemLibraryEntry &entry, m_d->nameToEntryHash.values()) {
if (entry.typeName() == typeName
&& entry.majorVersion() == majorVersion
&& entry.minorVersion() == minorVersion)
&& entry.majorVersion() >= majorVersion
&& entry.minorVersion() >= minorVersion)
entries += entry;
}
......
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