Merge pull request #169 from dimitarnestorov/patch-1

Fixing code example of QSystemTrayIcon
This commit is contained in:
Atul R
2019-11-01 22:25:15 +01:00
committed by GitHub
+1 -1
View File
@@ -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?)`