Launcher style/minor UI adjustments

This commit is contained in:
Klaus Basan
2018-10-06 13:16:40 +02:00
parent b5bfe301d2
commit 56f2b48c47
2 changed files with 8 additions and 1 deletions

View File

@@ -194,8 +194,12 @@ void CSwiftLauncher::initStyleSheet()
void CSwiftLauncher::loadLatestNews()
{
if (!sGui || sGui->isShuttingDown()) { return; }
CFailoverUrlList newsUrls(sGui->getGlobalSetup().getSwiftLatestNewsUrls());
const CUrl newsUrl(newsUrls.obtainNextWorkingUrl(true, 10 * 1000));
// const CUrl newsUrl("https://dev.swift-project.org/phame/blog/view/1/");
if (newsUrl.isEmpty())
{
CLogMessage(this).warning("No working news URL in %1") << newsUrls.toQString();