mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-12-17 09:24:28 -05:00
Custom browser feature for Linux/macOS
* Also move "search in all databases" to the general tab
This commit is contained in:
parent
d863496f62
commit
43c82ccb09
9 changed files with 378 additions and 79 deletions
|
|
@ -182,6 +182,36 @@ void BrowserSettings::setCustomProxyLocation(const QString& location)
|
|||
config()->set(Config::Browser_CustomProxyLocation, location);
|
||||
}
|
||||
|
||||
bool BrowserSettings::customBrowserSupport()
|
||||
{
|
||||
return config()->get(Config::Browser_UseCustomBrowser).toBool();
|
||||
}
|
||||
|
||||
void BrowserSettings::setCustomBrowserSupport(bool enabled)
|
||||
{
|
||||
config()->set(Config::Browser_UseCustomBrowser, enabled);
|
||||
}
|
||||
|
||||
int BrowserSettings::customBrowserType()
|
||||
{
|
||||
return config()->get(Config::Browser_CustomBrowserType).toInt();
|
||||
}
|
||||
|
||||
void BrowserSettings::setCustomBrowserType(int type)
|
||||
{
|
||||
config()->set(Config::Browser_CustomBrowserType, type);
|
||||
}
|
||||
|
||||
QString BrowserSettings::customBrowserLocation()
|
||||
{
|
||||
return config()->get(Config::Browser_CustomBrowserLocation).toString();
|
||||
}
|
||||
|
||||
void BrowserSettings::setCustomBrowserLocation(const QString& location)
|
||||
{
|
||||
config()->set(Config::Browser_CustomBrowserLocation, location);
|
||||
}
|
||||
|
||||
QString BrowserSettings::proxyLocation()
|
||||
{
|
||||
return m_nativeMessageInstaller.getProxyPath();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue