lxqt / lxqt-panel

The LXQt desktop panel
https://lxqt-project.org
GNU Lesser General Public License v2.1
193 stars 135 forks source link

Fixed a crash in worldclock popup on Wayland with Qt 6.8.0 #2148

Closed tsujan closed 1 month ago

tsujan commented 1 month ago

The crash was in deleteLater(). The code is simplified, such that there's no need to deleteLater(). It's also good for X11.

Fixes https://github.com/lxqt/lxqt-panel/issues/2146

NOTE: This is similar to https://github.com/lxqt/lxqt-notificationd/pull/375 and https://github.com/lxqt/lximage-qt/pull/666, and shows that we should be more cautious when using deleteLater().