You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Methods in QMenu (e.g. clear(), removeAction()) can remove separators in TrayMenu. So separator members needs QPointer and needs to be recreated if needed after they're destroyed.
Do not delete TrayMenu object in MainWindow::createMenu(), just call QMenu::clear(). Create TrayMenu, set it as context menu for tray and connect signals in MainWindow contructor.
The text was updated successfully, but these errors were encountered:
Methods in QMenu (e.g. clear(), removeAction()) can remove separators in TrayMenu. So separator members needs QPointer and needs to be recreated if needed after they're destroyed.
Do not delete TrayMenu object in MainWindow::createMenu(), just call QMenu::clear(). Create TrayMenu, set it as context menu for tray and connect signals in MainWindow contructor.
The text was updated successfully, but these errors were encountered: