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 {
width: ipListView.width
elide: Text.ElideRight
text: (firewallConf.resolveAddress
text: hostName || displayText
font.italic: !!hostName
readonly property string hostName:
(firewallConf.resolveAddress
&& hostInfoCache.hostTrigger
&& hostInfoCache.hostName(displayText)) || displayText
&& hostInfoCache.hostName(displayText)) || ""
readonly property string displayText: display
}