Fixing code example of QSystemTrayIcon
This commit is contained in:
parent
2ce0247063
commit
1b20031cd7
@ -21,7 +21,7 @@ const trayIcon = new QIcon(
|
||||
const tray = new QSystemTrayIcon();
|
||||
tray.show();
|
||||
|
||||
global.trayIcon = trayIcon; // prevent's gc of trayIcon
|
||||
global.tray = tray; // prevents garbage collection of tray
|
||||
```
|
||||
|
||||
### `new QSystemTrayIcon(parent?)`
|
||||
|
||||
Loading…
Reference in New Issue
Block a user