mirror of
https://github.com/tnodir/fort
synced 2024-11-15 03:46:13 +00:00
UI: Programs: State icon for LAN only
This commit is contained in:
parent
dc436b5bc3
commit
6bc0044e1d
@ -237,8 +237,10 @@ QIcon AppListModel::appStateIcon(const AppRow &appRow)
|
|||||||
return IconCache::icon(appRow.alerted
|
return IconCache::icon(appRow.alerted
|
||||||
? ":/icons/error.png"
|
? ":/icons/error.png"
|
||||||
: (appRow.blocked ? ":/icons/deny.png"
|
: (appRow.blocked ? ":/icons/deny.png"
|
||||||
: (appRow.endTime.isNull() ? ":/icons/accept.png"
|
: (appRow.endTime.isNull()
|
||||||
: ":/icons/time.png")));
|
? (appRow.lanOnly ? ":/icons/hostname.png"
|
||||||
|
: ":/icons/accept.png")
|
||||||
|
: ":/icons/time.png")));
|
||||||
}
|
}
|
||||||
|
|
||||||
bool AppListModel::updateAppRow(const QString &sql, const QVariantList &vars, AppRow &appRow) const
|
bool AppListModel::updateAppRow(const QString &sql, const QVariantList &vars, AppRow &appRow) const
|
||||||
|
Loading…
Reference in New Issue
Block a user