This commit is contained in:
Marco Martin 2019-08-29 15:51:09 +02:00
parent cd8295e296
commit 492a3e7dae
2 changed files with 2 additions and 1 deletions

View file

@ -331,7 +331,7 @@ void ApplicationListModel::setMaxFavoriteCount(int count)
}
if (m_maxFavoriteCount > count) {
while (m_favorites.size() > count) {
while (m_favorites.size() > count && m_favorites.count() > 0) {
m_favorites.pop_back();
}

View file

@ -298,6 +298,7 @@ Item {
left: parent.left
right: parent.right
bottom: parent.bottom
bottomMargin: root.height - plamsoid.availableScreenRect.height - plasmoid.availableScreenRect.y
}
appletsLayout: appletsLayout
launcherGrid: launcher