Changes tray icon to white colored nodegui logo

This commit is contained in:
soonoo 2019-09-25 12:20:49 +09:00
parent c284558886
commit bc05bce077
2 changed files with 4 additions and 1 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 66 KiB

View File

@ -106,8 +106,11 @@ const pixmap = new QPixmap(
imageLabel.setPixmap(pixmap);
scrollArea.setWidget(imageLabel);
const trayIcon = new QIcon(
path.resolve(__dirname, "../extras/assets/nodegui_white.png")
);
const tray = new QSystemTrayIcon();
tray.setIcon(icon);
tray.setIcon(trayIcon);
tray.show()
if (rootView.layout) {