mirror of
https://github.com/tnodir/fort
synced 2024-11-15 01:15:29 +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
|
||||
? ":/icons/error.png"
|
||||
: (appRow.blocked ? ":/icons/deny.png"
|
||||
: (appRow.endTime.isNull() ? ":/icons/accept.png"
|
||||
: ":/icons/time.png")));
|
||||
: (appRow.endTime.isNull()
|
||||
? (appRow.lanOnly ? ":/icons/hostname.png"
|
||||
: ":/icons/accept.png")
|
||||
: ":/icons/time.png")));
|
||||
}
|
||||
|
||||
bool AppListModel::updateAppRow(const QString &sql, const QVariantList &vars, AppRow &appRow) const
|
||||
|
Loading…
Reference in New Issue
Block a user