mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-11-27 18:10:31 -05:00
Merge branch 'master'
Conflicts: INSTALL.md release-tool src/browser/BrowserOptionDialog.cpp src/browser/BrowserService.cpp src/browser/BrowserService.h src/browser/NativeMessagingBase.h src/browser/NativeMessagingHost.h src/core/Uuid.cpp src/gui/DatabaseTabWidget.cpp src/gui/DatabaseWidget.cpp src/gui/EditWidget.cpp src/gui/MainWindow.cpp src/gui/MainWindow.ui src/proxy/NativeMessagingHost.h src/sshagent/ASN1Key.cpp
This commit is contained in:
commit
ca27fb06d5
52 changed files with 5657 additions and 1106 deletions
|
|
@ -173,17 +173,15 @@ void DetailsWidget::updateEntryGeneralTab()
|
|||
m_ui->entryPasswordLabel->setToolTip({});
|
||||
}
|
||||
|
||||
m_ui->entryUrlLabel->setRawText(m_currentEntry->displayUrl());
|
||||
const QString url = m_currentEntry->webUrl();
|
||||
if (!url.isEmpty()) {
|
||||
// URL is well formed and can be opened in a browser
|
||||
// create a new display url that masks password placeholders
|
||||
// the actual link will use the password
|
||||
m_ui->entryUrlLabel->setRawText(m_currentEntry->displayUrl());
|
||||
m_ui->entryUrlLabel->setUrl(url);
|
||||
m_ui->entryUrlLabel->setCursor(Qt::PointingHandCursor);
|
||||
} else {
|
||||
// Fallback to the raw url string
|
||||
m_ui->entryUrlLabel->setRawText(m_currentEntry->resolveMultiplePlaceholders(m_currentEntry->url()));
|
||||
m_ui->entryUrlLabel->setUrl({});
|
||||
m_ui->entryUrlLabel->setCursor(Qt::ArrowCursor);
|
||||
}
|
||||
|
||||
const TimeInfo entryTime = m_currentEntry->timeInfo();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue