From ee126378d22277647a081d66c86851b43c58f132 Mon Sep 17 00:00:00 2001 From: gjq Date: Tue, 14 Mar 2023 15:16:23 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=AD=97=E6=AF=8D=E6=8E=92?= =?UTF-8?q?=E5=BA=8Fbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/appdata/plugin/app-letter-sort-plugin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/appdata/plugin/app-letter-sort-plugin.cpp b/src/appdata/plugin/app-letter-sort-plugin.cpp index ccc8c36..ad0f739 100644 --- a/src/appdata/plugin/app-letter-sort-plugin.cpp +++ b/src/appdata/plugin/app-letter-sort-plugin.cpp @@ -154,7 +154,7 @@ void AppLetterSortPlugin::sortAppData(QList &apps) void AppLetterSortPlugin::addAppToLabel(const QString &labelName, QVector &apps) { LabelItem labelItem; - labelItem.setDisable(!apps.isEmpty()); + labelItem.setDisable(apps.isEmpty()); labelItem.setIndex(m_labels.size()); labelItem.setId(labelName); labelItem.setDisplayName(labelName);