QmlDesigner: Remove ItemLibraryModel::m_sections

Change-Id: I884af24b8e36a81a7f11b2587d84f7f33ff948c3
Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
This commit is contained in:
Marco Bubke
2014-06-23 15:00:40 +02:00
parent de011703e1
commit b235ef374d
2 changed files with 0 additions and 8 deletions

View File

@@ -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;

View File

@@ -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;