forked from openkylin/ukui-menu
修改字母排序bug
This commit is contained in:
parent
22a7871f20
commit
ee126378d2
|
@ -154,7 +154,7 @@ void AppLetterSortPlugin::sortAppData(QList<DataEntity> &apps)
|
||||||
void AppLetterSortPlugin::addAppToLabel(const QString &labelName, QVector<DataEntity> &apps)
|
void AppLetterSortPlugin::addAppToLabel(const QString &labelName, QVector<DataEntity> &apps)
|
||||||
{
|
{
|
||||||
LabelItem labelItem;
|
LabelItem labelItem;
|
||||||
labelItem.setDisable(!apps.isEmpty());
|
labelItem.setDisable(apps.isEmpty());
|
||||||
labelItem.setIndex(m_labels.size());
|
labelItem.setIndex(m_labels.size());
|
||||||
labelItem.setId(labelName);
|
labelItem.setId(labelName);
|
||||||
labelItem.setDisplayName(labelName);
|
labelItem.setDisplayName(labelName);
|
||||||
|
|
Loading…
Reference in New Issue