mirror of
https://github.com/Mahdi-zarei/nekoray.git
synced 2025-12-19 13:50:12 +08:00
update icon
This commit is contained in:
parent
adfc2e3601
commit
a143bc8f45
Binary file not shown.
|
Before Width: | Height: | Size: 79 KiB After Width: | Height: | Size: 44 KiB |
BIN
res/nekoray.ico
BIN
res/nekoray.ico
Binary file not shown.
|
Before Width: | Height: | Size: 82 KiB After Width: | Height: | Size: 39 KiB |
@ -26,7 +26,7 @@ QIcon TrayIcon::GetIcon(TrayIcon::TrayIconStatus status) {
|
|||||||
auto side = pixmap.width();
|
auto side = pixmap.width();
|
||||||
auto radius = side * 0.4;
|
auto radius = side * 0.4;
|
||||||
auto d = side * 0.3;
|
auto d = side * 0.3;
|
||||||
auto margin = side * 0.1;
|
auto margin = side * 0.05;
|
||||||
|
|
||||||
if (status == TrayIconStatus::RUNNING) {
|
if (status == TrayIconStatus::RUNNING) {
|
||||||
p.setBrush(QBrush(Qt::darkGreen));
|
p.setBrush(QBrush(Qt::darkGreen));
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user