global menu applet: fix single button mode on X11
Reason for the change
Earlier, the code to connect the applet to the menu action was only run on Wayland. I have removed a check to allow the connection to also be done on X11.
Test plan
(I have tested this commit by applying it on top of Plasma 6.4.2.)
- open Konsole
- Check that 'File > New Window' works correctly when invoked from the global menu applet in single button mode.
Bugs fixed
BUG: 506170 (on X11)