Commit 492a3e7d authored by Marco Martin's avatar Marco Martin

crash--

parent cd8295e2
......@@ -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();
}
......
......@@ -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
......
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