added gray (inactive) version of tray icon
This commit is contained in:
parent
eb2182e22c
commit
6a5fe11c00
3 changed files with 2 additions and 1 deletions
|
@ -1,5 +1,6 @@
|
|||
<RCC>
|
||||
<qresource prefix="/icon">
|
||||
<file>libqt-omd_bw.png</file>
|
||||
<file>libqt-omd_gray.png</file>
|
||||
</qresource>
|
||||
</RCC>
|
||||
|
|
BIN
test/libqt-omd_gray.png
Normal file
BIN
test/libqt-omd_gray.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2 KiB |
|
@ -47,7 +47,7 @@ int main(int argc, char *argv[])
|
|||
menu.addSeparator();
|
||||
menu.addAction(&closeApp);
|
||||
|
||||
QIcon icon(":/icon/libqt-omd_bw.png");
|
||||
QIcon icon(":/icon/libqt-omd_gray.png");
|
||||
tray.setIcon(icon);
|
||||
tray.setContextMenu(&menu);
|
||||
tray.show();
|
||||
|
|
Loading…
Add table
Reference in a new issue