Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
System Settings
Commits
ba7c40a8
Commit
ba7c40a8
authored
Apr 14, 2021
by
Aleix Pol Gonzalez
🐧
Browse files
--warning: Port to new Connections {} syntax
With function() instead of just onSignal:
parent
ebb99b35
Changes
1
Hide whitespace changes
Inline
Side-by-side
sidebar/package/contents/ui/SubCategoryPage.qml
View file @
ba7c40a8
...
...
@@ -115,7 +115,7 @@ Kirigami.ScrollablePage {
Connections
{
target
:
root
onSearchModeChanged
:
{
function
onSearchModeChanged
()
{
if
(
root
.
searchMode
)
{
root
.
pageStack
.
pop
(
mainColumn
);
}
else
if
(
subCategoryView
.
count
>
1
)
{
...
...
@@ -125,13 +125,13 @@ Kirigami.ScrollablePage {
}
Connections
{
target
:
systemsettings
onActiveSubCategoryRowChanged
:
{
function
onActiveSubCategoryRowChanged
()
{
if
(
systemsettings
.
activeSubCategoryRow
>=
0
)
{
root
.
pageStack
.
currentIndex
=
1
;
subCategoryView
.
forceActiveFocus
();
}
}
onIntroPageVisibleChanged
:
{
function
onIntroPageVisibleChanged
()
{
if
(
systemsettings
.
introPageVisible
)
{
root
.
pageStack
.
pop
(
mainColumn
)
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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