shell: document why UseQApplication is required

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
2026-06-10 21:42:03 +02:00
parent f6796f3726
commit 3a98bc08e9

View File

@@ -1,4 +1,7 @@
//@ pragma UseQApplication
// Required: Quickshell renders the system-tray context menu (right-click in
// Tray.qml -> item.display()) via QtWidgets' QMenu. Dropping this loads the
// lighter QGuiApplication but breaks tray menus. Verified 2026-06-08.
import Quickshell
import "widgets"