mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-29 15:03:09 +00:00
crash--
This commit is contained in:
parent
cd8295e296
commit
492a3e7dae
2 changed files with 2 additions and 1 deletions
|
|
@ -331,7 +331,7 @@ void ApplicationListModel::setMaxFavoriteCount(int count)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (m_maxFavoriteCount > count) {
|
if (m_maxFavoriteCount > count) {
|
||||||
while (m_favorites.size() > count) {
|
while (m_favorites.size() > count && m_favorites.count() > 0) {
|
||||||
m_favorites.pop_back();
|
m_favorites.pop_back();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -298,6 +298,7 @@ Item {
|
||||||
left: parent.left
|
left: parent.left
|
||||||
right: parent.right
|
right: parent.right
|
||||||
bottom: parent.bottom
|
bottom: parent.bottom
|
||||||
|
bottomMargin: root.height - plamsoid.availableScreenRect.height - plasmoid.availableScreenRect.y
|
||||||
}
|
}
|
||||||
appletsLayout: appletsLayout
|
appletsLayout: appletsLayout
|
||||||
launcherGrid: launcher
|
launcherGrid: launcher
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue