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();

View File

@@ -88,7 +88,7 @@
<item>
<widget class="QToolBox" name="tb_Launcher">
<property name="currentIndex">
<number>4</number>
<number>0</number>
</property>
<property name="tabSpacing">
<number>6</number>
@@ -562,6 +562,9 @@
<property name="bottomMargin">
<number>3</number>
</property>
<property name="verticalSpacing">
<number>1</number>
</property>
<item row="0" column="0" colspan="5">
<widget class="BlackGui::Components::CScaleScreenFactor" name="comp_Scale">
<property name="frameShape">