mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-05-02 07:05:38 +08:00
Launcher style/minor UI adjustments
This commit is contained in:
@@ -194,8 +194,12 @@ void CSwiftLauncher::initStyleSheet()
|
|||||||
|
|
||||||
void CSwiftLauncher::loadLatestNews()
|
void CSwiftLauncher::loadLatestNews()
|
||||||
{
|
{
|
||||||
|
if (!sGui || sGui->isShuttingDown()) { return; }
|
||||||
|
|
||||||
CFailoverUrlList newsUrls(sGui->getGlobalSetup().getSwiftLatestNewsUrls());
|
CFailoverUrlList newsUrls(sGui->getGlobalSetup().getSwiftLatestNewsUrls());
|
||||||
const CUrl newsUrl(newsUrls.obtainNextWorkingUrl(true, 10 * 1000));
|
const CUrl newsUrl(newsUrls.obtainNextWorkingUrl(true, 10 * 1000));
|
||||||
|
// const CUrl newsUrl("https://dev.swift-project.org/phame/blog/view/1/");
|
||||||
|
|
||||||
if (newsUrl.isEmpty())
|
if (newsUrl.isEmpty())
|
||||||
{
|
{
|
||||||
CLogMessage(this).warning("No working news URL in %1") << newsUrls.toQString();
|
CLogMessage(this).warning("No working news URL in %1") << newsUrls.toQString();
|
||||||
|
|||||||
@@ -88,7 +88,7 @@
|
|||||||
<item>
|
<item>
|
||||||
<widget class="QToolBox" name="tb_Launcher">
|
<widget class="QToolBox" name="tb_Launcher">
|
||||||
<property name="currentIndex">
|
<property name="currentIndex">
|
||||||
<number>4</number>
|
<number>0</number>
|
||||||
</property>
|
</property>
|
||||||
<property name="tabSpacing">
|
<property name="tabSpacing">
|
||||||
<number>6</number>
|
<number>6</number>
|
||||||
@@ -562,6 +562,9 @@
|
|||||||
<property name="bottomMargin">
|
<property name="bottomMargin">
|
||||||
<number>3</number>
|
<number>3</number>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="verticalSpacing">
|
||||||
|
<number>1</number>
|
||||||
|
</property>
|
||||||
<item row="0" column="0" colspan="5">
|
<item row="0" column="0" colspan="5">
|
||||||
<widget class="BlackGui::Components::CScaleScreenFactor" name="comp_Scale">
|
<widget class="BlackGui::Components::CScaleScreenFactor" name="comp_Scale">
|
||||||
<property name="frameShape">
|
<property name="frameShape">
|
||||||
|
|||||||
Reference in New Issue
Block a user