mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-14 08:45:36 +08:00
refs #485, further removed global setup traits from classes with read only
Use global setup from sGui/sApp
This commit is contained in:
committed by
Mathew Sutcliffe
parent
30b5e5dade
commit
aa96731143
@@ -134,7 +134,7 @@ void CSwiftLauncher::initStyleSheet()
|
||||
void CSwiftLauncher::displayLatestNews()
|
||||
{
|
||||
#ifndef Q_CC_MINGW
|
||||
CFailoverUrlList newsUrls(this->m_setup.get().swiftLatestNewsUrls());
|
||||
CFailoverUrlList newsUrls(sGui->getGlobalSetup().swiftLatestNewsUrls());
|
||||
QUrl newUrl(newsUrls.obtainNextWorkingUrl());
|
||||
|
||||
Q_UNUSED(newUrl);
|
||||
@@ -343,7 +343,7 @@ void CSwiftLauncher::ps_startButtonPressed()
|
||||
}
|
||||
else if (sender == this->ui->tb_Database)
|
||||
{
|
||||
CUrl homePage(this->m_setup.get().dbHomePageUrl());
|
||||
const CUrl homePage(sApp->getGlobalSetup().dbHomePageUrl());
|
||||
QDesktopServices::openUrl(homePage);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user