mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-11-22 16:00:38 -05:00
Cleaned up url display code
This commit is contained in:
parent
b9fd609bb2
commit
f3d85ae219
4 changed files with 11 additions and 7 deletions
|
|
@ -247,6 +247,13 @@ QString Entry::webUrl() const
|
|||
return resolveUrl(url);
|
||||
}
|
||||
|
||||
QString Entry::displayUrl() const
|
||||
{
|
||||
QString url = maskPasswordPlaceholders(m_attributes->value(EntryAttributes::URLKey));
|
||||
url = resolveMultiplePlaceholders(url);
|
||||
return resolveUrl(url);
|
||||
}
|
||||
|
||||
QString Entry::username() const
|
||||
{
|
||||
return m_attributes->value(EntryAttributes::UserNameKey);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue