Pass a widget when invoking `QStyle::drawControl()`; the Windows 11 style
uses the widget unconditionally.
Considering the documentation explicitly states `The widget argument is
optional` and the default value for the function argument is `nullptr` this
is supposedly a bug in Qt.
Pass profile to new web page (that is being created when a `target="blank"`
link is clicked) to avoid running into `Can not adopt content from a
different WebEngineProfile.`.
It looks like `libstdc++` and `libc++` only define this `enum class` member
when the `ETIME` macro is defined. To prevent build errors when this macro
is not defined it makes sense to check for this error only conditionally.
* Add `--wait` parameter so Syncthing Tray will wait until the tray becomes
available; this might help if Syncthing Tray is started by the desktop
environment before the tray is available (unless it is started too soon
even for that)
* Add `X-LXQt-Need-Tray=true` to ensure the system tray is available on
LXQt because just `--wait` might not be sufficient here (according to
https://github.com/Martchus/syncthingtray/issues/240); this is in-line
with the autostart entry of https://github.com/lxqt/lxqt-powermanagement
Lazy-initialize the network information backend so warnings it possibly
shows don't disturb the output of the CLI (which does not need the network
information backend anyway).
Since this feature will likely not be available in mingw-w64-based builds of
the next release (due to missing cppwinrt) it is important to make it clear
when those options don't actually work. With this change the checkboxes are
completely disabled in case the feature is not available (instead of just
providing the information via the tooltip).