Commit ba7c40a8 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧
Browse files

--warning: Port to new Connections {} syntax

With function() instead of just onSignal:
parent ebb99b35
......@@ -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)
}
......
Supports Markdown
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