Allow manual editing of browser extension connection keys

This commit is contained in:
varjolintu 2020-04-12 18:51:46 +03:00 committed by Jonathan White
parent d5de042529
commit 287e822e02
9 changed files with 122 additions and 1 deletions

View file

@ -187,6 +187,18 @@ QString BrowserSettings::proxyLocation()
return m_nativeMessageInstaller.getProxyPath();
}
#ifdef QT_DEBUG
QString BrowserSettings::customExtensionId()
{
return config()->get(Config::Browser_CustomExtensionId).toString();
}
void BrowserSettings::setCustomExtensionId(const QString& id)
{
config()->set(Config::Browser_CustomExtensionId, id);
}
#endif
bool BrowserSettings::updateBinaryPath()
{
return config()->get(Config::Browser_UpdateBinaryPath).toBool();