mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-02 23:25:53 +08:00
refs #621, use getXX for setup members, no idea why I have not used our standard
This commit is contained in:
@@ -29,7 +29,7 @@ namespace BlackGui
|
||||
{
|
||||
ui->setupUi(this);
|
||||
this->setModeLogin(true);
|
||||
CUrl url(sGui->getGlobalSetup().dbHomePageUrl());
|
||||
CUrl url(sGui->getGlobalSetup().getDbHomePageUrl());
|
||||
ui->lbl_SwiftDB->setText("<a href=\"" + url.getFullUrl() + "\">swift DB@" + url.getHost() + "</a>");
|
||||
ui->lbl_SwiftDB->setTextFormat(Qt::RichText);
|
||||
ui->lbl_SwiftDB->setTextInteractionFlags(Qt::TextBrowserInteraction);
|
||||
|
||||
@@ -108,7 +108,7 @@ namespace BlackGui
|
||||
// add a testserver when no servers can be loaded
|
||||
if (otherServers.isEmpty() && (sGui->isRunningInDeveloperEnvironment() || CProject::isBetaTest()))
|
||||
{
|
||||
otherServers.push_back(sGui->getGlobalSetup().fsdTestServersPlusHardcodedServers());
|
||||
otherServers.push_back(sGui->getGlobalSetup().getFsdTestServersPlusHardcodedServers());
|
||||
CLogMessage(this).info("Added servers for testing");
|
||||
}
|
||||
this->ui->cbp_OtherServers->setServers(otherServers);
|
||||
|
||||
@@ -55,7 +55,7 @@ namespace BlackGui
|
||||
// this is debug/bootstrap feature we can continue to test when something goes wrong
|
||||
if (serverList.isEmpty() && (CProject::isBetaTest() || sGui->isRunningInDeveloperEnvironment()))
|
||||
{
|
||||
serverList.push_back(sGui->getGlobalSetup().fsdTestServersPlusHardcodedServers());
|
||||
serverList.push_back(sGui->getGlobalSetup().getFsdTestServersPlusHardcodedServers());
|
||||
this->ui->tvp_Servers->updateContainer(serverList);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user