mirror of
https://github.com/tnodir/fort
synced 2024-11-14 22:25:40 +00:00
UI: Tray: Tweak icon for Block All
This commit is contained in:
parent
99c65b9026
commit
8ba7af8453
@ -762,10 +762,10 @@ QString TrayIcon::trayIconBlockPath(int blockType, QString &overlayIconPath) con
|
|||||||
{
|
{
|
||||||
switch (blockType) {
|
switch (blockType) {
|
||||||
case FirewallConf::BlockTrafficAll:
|
case FirewallConf::BlockTrafficAll:
|
||||||
|
overlayIconPath = ":/icons/cross.png";
|
||||||
|
return ":/icons/fort_gray.png";
|
||||||
|
case FirewallConf::BlockTrafficLan:
|
||||||
return ":/icons/fort_red.png";
|
return ":/icons/fort_red.png";
|
||||||
case FirewallConf::BlockTrafficInet:
|
|
||||||
overlayIconPath = ":/icons/global_telecom.png";
|
|
||||||
Q_FALLTHROUGH();
|
|
||||||
default:
|
default:
|
||||||
return ":/icons/fort_orange.png";
|
return ":/icons/fort_orange.png";
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user