Only show warning about snap browsers on Linux
This commit is contained in:
committed by
Jonathan White
parent
a66f8ec04d
commit
024e00cc97
@@ -68,6 +68,10 @@ BrowserOptionDialog::BrowserOptionDialog(QWidget* parent)
|
|||||||
connect(m_ui->useCustomProxy, SIGNAL(toggled(bool)), m_ui->customProxyLocationBrowseButton, SLOT(setEnabled(bool)));
|
connect(m_ui->useCustomProxy, SIGNAL(toggled(bool)), m_ui->customProxyLocationBrowseButton, SLOT(setEnabled(bool)));
|
||||||
connect(m_ui->customProxyLocationBrowseButton, SIGNAL(clicked()), this, SLOT(showProxyLocationFileDialog()));
|
connect(m_ui->customProxyLocationBrowseButton, SIGNAL(clicked()), this, SLOT(showProxyLocationFileDialog()));
|
||||||
|
|
||||||
|
#ifndef Q_OS_LINUX
|
||||||
|
m_ui->snapWarningLabel->setVisible(false);
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef Q_OS_WIN
|
#ifdef Q_OS_WIN
|
||||||
// Brave uses Chrome's registry settings
|
// Brave uses Chrome's registry settings
|
||||||
m_ui->braveSupport->setHidden(true);
|
m_ui->braveSupport->setHidden(true);
|
||||||
|
|||||||
@@ -60,7 +60,7 @@
|
|||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QLabel" name="label">
|
<widget class="QLabel" name="snapWarningLabel">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Browsers installed as snaps are currently not supported.</string>
|
<string>Browsers installed as snaps are currently not supported.</string>
|
||||||
</property>
|
</property>
|
||||||
|
|||||||
Reference in New Issue
Block a user