Skip to content

Commit

Permalink
Use Chrome registry settings with Vivaldi
Browse files Browse the repository at this point in the history
  • Loading branch information
varjolintu committed Aug 3, 2018
1 parent 41ebc10 commit 3bb982d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/browser/BrowserOptionDialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,12 @@ BrowserOptionDialog::BrowserOptionDialog(QWidget* parent) :
connect(m_ui->useCustomProxy, SIGNAL(toggled(bool)), m_ui->customProxyLocationBrowseButton, SLOT(setEnabled(bool)));
connect(m_ui->customProxyLocationBrowseButton, SIGNAL(clicked()), this, SLOT(showProxyLocationFileDialog()));

#ifdef Q_OS_WIN
// Vivaldi uses Chrome's registry settings
m_ui->vivaldiSupport->setChecked(false);
m_ui->vivaldiSupport->setEnabled(false);
m_ui->chromeSupport->setText("Chrome and Vivaldi");
#endif
m_ui->browserGlobalWarningWidget->setVisible(false);
}

Expand Down

0 comments on commit 3bb982d

Please sign in to comment.