1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-05-11 23:09:42 -04:00

quickshell: drop support for 0.2, require 0.3+

- Remove all compat code
- Rewire LegacyNetworkService to use Quickshell.Networking
- Add parentWindow to settings child windows
This commit is contained in:
bbedward
2026-05-11 13:04:29 -04:00
parent 3989c7f801
commit b8f4c350a8
52 changed files with 1472 additions and 2064 deletions

View File

@@ -1397,6 +1397,13 @@ BasePill {
close();
}
Timer {
id: pendingActionCloseTimer
interval: 80
repeat: false
onTriggered: menuRoot.closeWithAction()
}
function showSubMenu(entry) {
if (!entry || !entry.hasChildren)
return;
@@ -1853,7 +1860,7 @@ BasePill {
} else if (typeof menuEntry.triggered === "function") {
menuEntry.triggered();
}
Qt.createQmlObject('import QtQuick; Timer { interval: 80; running: true; repeat: false; onTriggered: menuRoot.closeWithAction() }', menuRoot);
pendingActionCloseTimer.restart();
}
}