mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2026-11-26 11:56:46 -08:00
add optionsfield to set http port
This commit is contained in:
1 parent
b03f54ffcd
commit
fc74e16097
5 files changed
+47
-9
No files matched your search
@@ -126,6 +126,18 @@ void HttpSettings::setSupportKphFields(bool supportKphFields)
|
||||
config()->set("Http/SupportKphFields", supportKphFields);
|
||||
}
|
||||
|
||||
int HttpSettings::httpPort()
|
||||
{
|
||||
static const int PORT = 19455;
|
||||
|
||||
return config()->get("Http/Port", PORT).toInt();
|
||||
}
|
||||
|
||||
void HttpSettings::setHttpPort(int port)
|
||||
{
|
||||
config()->set("Http/Port", port);
|
||||
}
|
||||
|
||||
bool HttpSettings::passwordUseNumbers()
|
||||
{
|
||||
return config()->get("Http/generator/Numbers", true).toBool();
|
||||
|
||||
Reference in new issue
Block a user