UI: BlockedPage: Emphasize resolved addresses.

This commit is contained in:
Nodir Temirkhodjaev 2018-08-28 06:22:07 +05:00
parent 4b179268de
commit f9e472b61f

View File

@ -11,9 +11,13 @@ ListViewControl {
delegate: Label { delegate: Label {
width: ipListView.width width: ipListView.width
elide: Text.ElideRight elide: Text.ElideRight
text: (firewallConf.resolveAddress text: hostName || displayText
&& hostInfoCache.hostTrigger font.italic: !!hostName
&& hostInfoCache.hostName(displayText)) || displayText
readonly property string hostName:
(firewallConf.resolveAddress
&& hostInfoCache.hostTrigger
&& hostInfoCache.hostName(displayText)) || ""
readonly property string displayText: display readonly property string displayText: display
} }