From e2482a37a901cf43a3fc54dca2f11f5d9fde803e Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Wed, 28 Aug 2019 16:24:11 +0200 Subject: [PATCH] remove unused vars --- containments/homescreen2/applicationlistmodel.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/containments/homescreen2/applicationlistmodel.cpp b/containments/homescreen2/applicationlistmodel.cpp index 59517649..abfaab20 100644 --- a/containments/homescreen2/applicationlistmodel.cpp +++ b/containments/homescreen2/applicationlistmodel.cpp @@ -112,8 +112,6 @@ void ApplicationListModel::loadApplications() QMap orderedList; QList unorderedList; - int i = 0; // for default bookmarks - // Iterate over all entries in the group while (!subGroupList.isEmpty()) { KSycocaEntry::Ptr groupEntry = subGroupList.first(); @@ -248,8 +246,6 @@ void ApplicationListModel::setLocation(int row, LauncherLocation location) } m_favorites.insert(row, data.storageId); - int i = 0; - if (m_applicationList[m_maxFavoriteCount].location == Favorites) { m_applicationList[m_maxFavoriteCount].location = Grid; m_favorites.pop_back();