Commit e2482a37 authored by Marco Martin's avatar Marco Martin

remove unused vars

parent 7a827c7b
......@@ -112,8 +112,6 @@ void ApplicationListModel::loadApplications()
QMap<int, ApplicationData> orderedList;
QList<ApplicationData> 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();
......
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