mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-27 22:33:08 +00:00
remove unused vars
This commit is contained in:
parent
7a827c7b06
commit
e2482a37a9
1 changed files with 0 additions and 4 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in a new issue