Changes tray icon to white colored nodegui logo
This commit is contained in:
parent
c284558886
commit
bc05bce077
BIN
extras/assets/nodegui_white.png
Normal file
BIN
extras/assets/nodegui_white.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 66 KiB |
@ -106,8 +106,11 @@ const pixmap = new QPixmap(
|
|||||||
imageLabel.setPixmap(pixmap);
|
imageLabel.setPixmap(pixmap);
|
||||||
scrollArea.setWidget(imageLabel);
|
scrollArea.setWidget(imageLabel);
|
||||||
|
|
||||||
|
const trayIcon = new QIcon(
|
||||||
|
path.resolve(__dirname, "../extras/assets/nodegui_white.png")
|
||||||
|
);
|
||||||
const tray = new QSystemTrayIcon();
|
const tray = new QSystemTrayIcon();
|
||||||
tray.setIcon(icon);
|
tray.setIcon(trayIcon);
|
||||||
tray.show()
|
tray.show()
|
||||||
|
|
||||||
if (rootView.layout) {
|
if (rootView.layout) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user