mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 04:25:35 +08:00
refs #621, use getXX for setup members, no idea why I have not used our standard
This commit is contained in:
@@ -146,7 +146,7 @@ void CSwiftLauncher::initStyleSheet()
|
||||
|
||||
void CSwiftLauncher::loadLatestNews()
|
||||
{
|
||||
CFailoverUrlList newsUrls(sGui->getGlobalSetup().swiftLatestNewsUrls());
|
||||
CFailoverUrlList newsUrls(sGui->getGlobalSetup().getSwiftLatestNewsUrls());
|
||||
const CUrl newsUrl(newsUrls.obtainNextWorkingUrl());
|
||||
if (newsUrl.isEmpty()) { return; }
|
||||
sGui->getFromNetwork(newsUrl, { this, &CSwiftLauncher::ps_displayLatestNews});
|
||||
@@ -346,7 +346,7 @@ void CSwiftLauncher::ps_startButtonPressed()
|
||||
}
|
||||
else if (sender == this->ui->tb_Database)
|
||||
{
|
||||
const CUrl homePage(sApp->getGlobalSetup().dbHomePageUrl());
|
||||
const CUrl homePage(sApp->getGlobalSetup().getDbHomePageUrl());
|
||||
QDesktopServices::openUrl(homePage);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user