Use 32px tray icon on windows

This commit is contained in:
albertony 2021-01-07 14:51:59 +01:00
parent c7b911497a
commit 0bb81b3279
5 changed files with 8 additions and 0 deletions

View File

@ -57,5 +57,8 @@
<file>icons/32x32/barrier-connected-mask.png</file>
<file>icons/32x32/barrier-disconnected-mask.png</file>
<file>icons/32x32/barrier-transfering-mask.png</file>
<file>icons/32x32/barrier-connected.png</file>
<file>icons/32x32/barrier-disconnected.png</file>
<file>icons/32x32/barrier-transfering.png</file>
</qresource>
</RCC>

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

@ -74,6 +74,11 @@ static const char* barrierIconFiles[] =
":/res/icons/32x32/barrier-disconnected-mask.png",
":/res/icons/32x32/barrier-connected-mask.png",
":/res/icons/32x32/barrier-transfering-mask.png"
#elif defined(Q_OS_WIN)
":/res/icons/32x32/barrier-disconnected.png",
":/res/icons/32x32/barrier-disconnected.png",
":/res/icons/32x32/barrier-connected.png",
":/res/icons/32x32/barrier-transfering.png"
#else
":/res/icons/16x16/barrier-disconnected.png",
":/res/icons/16x16/barrier-disconnected.png",