Commit b235ef37 authored by Marco Bubke's avatar Marco Bubke
Browse files

QmlDesigner: Remove ItemLibraryModel::m_sections



Change-Id: I884af24b8e36a81a7f11b2587d84f7f33ff948c3
Reviewed-by: default avatarTim Jenssen <tim.jenssen@digia.com>
parent de011703
......@@ -122,11 +122,6 @@ void ItemLibraryModel::setSearchText(const QString &searchText)
}
}
int ItemLibraryModel::getSectionLibId(int itemLibId)
{
return m_sections.value(itemLibId);
}
Import entryToImport(const ItemLibraryEntry &entry)
{
if (entry.majorVersion() == -1 && entry.minorVersion() == -1)
......@@ -145,7 +140,6 @@ void ItemLibraryModel::update(ItemLibraryInfo *itemLibraryInfo, Model *model)
QMap<QString, int> sections;
clearSections();
m_sections.clear();
m_nextLibId = 0;
QStringList imports;
......
......@@ -76,7 +76,6 @@ public:
public slots:
void setSearchText(const QString &searchText);
int getSectionLibId(int itemLibId);
void setExpanded(bool, const QString &section);
signals:
......@@ -94,7 +93,6 @@ private: // functions
private: // variables
QList<ItemLibrarySection*> m_sectionModels;
QMap<int, int> m_sections;
QHash<int, QByteArray> m_roleNames;
QString m_searchText;
......
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