Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
Plasma Desktop
Commits
aa27d703
Commit
aa27d703
authored
Sep 23, 2022
by
Fushan Wen
Browse files
kcms/landingpage: hide "Most Used" section when it's empty
(cherry picked from commit
83c84869
)
parent
dc0879ec
Pipeline
#236057
passed with stage
in 3 minutes and 13 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
kcms/landingpage/package/contents/ui/main.qml
View file @
aa27d703
...
...
@@ -203,12 +203,15 @@ KCM.SimpleKCM {
Kirigami.Separator
{
Kirigami.FormData.isSection
:
true
visible
:
mostUsedGrid
.
visible
}
GridLayout
{
id
:
mostUsedGrid
Kirigami.FormData.label
:
i18n
(
"
Most Used Pages:
"
)
Kirigami.FormData.buddyFor
:
children
[
1
]
// 0 is the Repeater
visible
:
recentlyUsedRepeater
.
count
>
0
Layout.fillWidth
:
true
rows
:
3
columns
:
2
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment