mirror of
https://github.com/MatsuriDayo/nekoray.git
synced 2025-12-18 13:04:37 +03:00
update icon
This commit is contained in:
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));
|
||||||
|
|||||||
Reference in New Issue
Block a user