Only show warning about snap browsers on Linux

This commit is contained in:
Balazs Gyurak 2019-11-16 21:36:17 +00:00 committed by Jonathan White
parent a66f8ec04d
commit 024e00cc97
2 changed files with 5 additions and 1 deletions

View File

@ -68,6 +68,10 @@ 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()));
#ifndef Q_OS_LINUX
m_ui->snapWarningLabel->setVisible(false);
#endif
#ifdef Q_OS_WIN
// Brave uses Chrome's registry settings
m_ui->braveSupport->setHidden(true);

View File

@ -60,7 +60,7 @@
</widget>
</item>
<item>
<widget class="QLabel" name="label">
<widget class="QLabel" name="snapWarningLabel">
<property name="text">
<string>Browsers installed as snaps are currently not supported.</string>
</property>