refs #621, use getXX for setup members, no idea why I have not used our standard

This commit is contained in:
Klaus Basan
2016-03-19 01:37:41 +01:00
parent 18c1da8502
commit 87a0c75f43
16 changed files with 78 additions and 70 deletions

View File

@@ -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);
}
}