From 95a60087f920d8796583be6034ed42ef09f07b38 Mon Sep 17 00:00:00 2001 From: varjolintu Date: Fri, 27 Jul 2018 19:32:58 +0300 Subject: [PATCH] Add browser extension links to settings page --- src/browser/BrowserOptionDialog.cpp | 5 +++++ src/browser/BrowserOptionDialog.ui | 20 ++++++++++++++++++++ 2 files changed, 25 insertions(+) diff --git a/src/browser/BrowserOptionDialog.cpp b/src/browser/BrowserOptionDialog.cpp index 52eece45f..1bc17a278 100755 --- a/src/browser/BrowserOptionDialog.cpp +++ b/src/browser/BrowserOptionDialog.cpp @@ -34,6 +34,11 @@ BrowserOptionDialog::BrowserOptionDialog(QWidget* parent) : connect(m_ui->removeSharedEncryptionKeys, SIGNAL(clicked()), this, SIGNAL(removeSharedEncryptionKeys())); connect(m_ui->removeStoredPermissions, SIGNAL(clicked()), this, SIGNAL(removeStoredPermissions())); + m_ui->extensionLabel->setOpenExternalLinks(true); + m_ui->extensionLabel->setText(tr("KeePassXC-Browser is needed for the browser integration to work.
Download it for %1 and %2.").arg( + "Firefox", + "Google Chrome / Chromium / Vivaldi")); + m_ui->warningWidget->showMessage(tr("Warning: The following options can be dangerous!"), MessageWidget::Warning); m_ui->warningWidget->setCloseButtonVisible(false); m_ui->warningWidget->setAutoHideTimeout(-1); diff --git a/src/browser/BrowserOptionDialog.ui b/src/browser/BrowserOptionDialog.ui index e82379452..24589c147 100755 --- a/src/browser/BrowserOptionDialog.ui +++ b/src/browser/BrowserOptionDialog.ui @@ -49,6 +49,26 @@ General + + + + + + + + Qt::Vertical + + + QSizePolicy::Fixed + + + + 20 + 4 + + + +