mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-23 15:25:35 +08:00
Some Web readers adjustemnts
* do not init shared URLs before needed * do not load info objects when DB is unavailable * adjust reader flags when DB is down * airport URL available in setup
This commit is contained in:
@@ -35,15 +35,13 @@ using namespace BlackCore::Data;
|
||||
|
||||
namespace BlackCore
|
||||
{
|
||||
CSetupReader::CSetupReader(QObject *parent) :
|
||||
QObject(parent),
|
||||
CSetupReader::CSetupReader(QObject *parent) : QObject(parent),
|
||||
m_cmdBootstrapUrl
|
||||
{
|
||||
{ "url", "bootstrapurl" },
|
||||
QCoreApplication::translate("application", "bootstrap URL, e.g. datastore.swift-project.org"),
|
||||
"bootstrapurl", (sApp->isUnitTest()) ? unitTestBootstrapUrl() : ""
|
||||
},
|
||||
m_cmdBootstrapMode
|
||||
}, m_cmdBootstrapMode
|
||||
{
|
||||
{ "bmode", "bootstrapmode" },
|
||||
QCoreApplication::translate("application", "bootstrap mode: explicit, implicit, cache(-only)"),
|
||||
|
||||
Reference in New Issue
Block a user