Merge from eugenesan/keepassx to implement 1.8.4.1 improvements

This commit is contained in:
Jonathan White committed 2016-04-03 10:49:00 -04:00
1 parent 175167b311
commit cbb1269b39
8 files changed
+91 -8

No files matched your search

+12
View File
@@ -126,6 +126,18 @@ void HttpSettings::setSupportKphFields(bool supportKphFields)
config()->set("Http/SupportKphFields", supportKphFields);
}
QString HttpSettings::httpHost()
{
static const QString host = "localhost";
return config()->get("Http/Host", host).toString().toUtf8();
}
void HttpSettings::setHttpHost(QString host)
{
config()->set("Http/Host", host);
}
int HttpSettings::httpPort()
{
static const int PORT = 19455;