A label is where a "goto" goes. In your example, retryTrayIcon is a label.
They are bad because they make the code unreadable, are very likely to cause errors and also make the code harder to maintain.
The only difference between your app and the Qt Systray example is that you start up with your application hidden. Try, just for testing, to show it, in main.cpp. See if you're experiencing the same behavior.




Reply With Quote
Is it because QDevelop or the debugger is changing the ownership of the menu?

Bookmarks