1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2025-12-13 00:42:49 -05:00

Remove pointless connections

This commit is contained in:
bbedward
2025-07-21 14:02:18 -04:00
parent 5189a34d40
commit 56662608d1
2 changed files with 0 additions and 35 deletions

View File

@@ -220,19 +220,6 @@ PanelWindow {
} }
Connections {
target: AppSearchService
function onApplicationsChanged() {
console.log("AppLauncher: DesktopEntries.applicationsChanged signal received");
// Update categories when applications change
console.log("AppLauncher: Updating categories and model due to applicationsChanged");
var allCategories = AppSearchService.getAllCategories();
categories = ["All", "Recents"].concat(allCategories.filter((cat) => {
return cat !== "All";
}));
updateFilteredModel();
}
}
Connections { Connections {
function onRecentlyUsedAppsChanged() { function onRecentlyUsedAppsChanged() {

View File

@@ -257,28 +257,6 @@ PanelWindow {
} }
} }
Connections {
target: AppSearchService
function onApplicationsChanged() {
console.log("SpotlightLauncher: DesktopEntries.applicationsChanged signal received");
// Update categories when applications change
if (AppSearchService.ready) {
console.log("SpotlightLauncher: Updating categories and apps due to applicationsChanged");
var allCategories = AppSearchService.getAllCategories().filter((cat) => {
return cat !== "Education" && cat !== "Science";
});
var result = ["All", "Recents"];
categories = result.concat(allCategories.filter((cat) => {
return cat !== "All";
}));
if (spotlightOpen)
updateFilteredApps();
} else {
console.log("SpotlightLauncher: AppSearchService not ready, skipping update");
}
}
}
// Dimmed overlay background // Dimmed overlay background
Rectangle { Rectangle {