mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-07 02:35:33 +08:00
refs #602, emoved web service provider
* webservices now directly accessible via sGui * interface no longer needed * no init of provider (setProvider) needed anymore
This commit is contained in:
committed by
Mathew Sutcliffe
parent
a0cfa2e687
commit
79f95845b2
@@ -81,7 +81,6 @@ void CSwiftData::init()
|
||||
this->initStyleSheet();
|
||||
this->initLogDisplay();
|
||||
connect(&CStyleSheetUtility::instance(), &CStyleSheetUtility::styleSheetsChanged, this, &CSwiftData::ps_onStyleSheetsChanged);
|
||||
this->initReaders();
|
||||
this->initMenu();
|
||||
}
|
||||
|
||||
@@ -97,14 +96,6 @@ void CSwiftData::initLogDisplay()
|
||||
logHandler->subscribe(this, &CSwiftData::ps_appendLogMessage);
|
||||
}
|
||||
|
||||
void CSwiftData::initReaders()
|
||||
{
|
||||
Q_ASSERT_X(sApp->getWebDataServices(), Q_FUNC_INFO, "Missing reader");
|
||||
this->ui->comp_MainInfoArea->setProvider(sApp->getWebDataServices());
|
||||
this->ui->comp_InfoBar->setProvider(sApp->getWebDataServices());
|
||||
// web data will be read automatically when setup is syncronized
|
||||
}
|
||||
|
||||
void CSwiftData::initMenu()
|
||||
{
|
||||
// menu
|
||||
|
||||
@@ -62,7 +62,6 @@ private:
|
||||
void init();
|
||||
void initLogDisplay();
|
||||
void initStyleSheet();
|
||||
void initReaders();
|
||||
void initMenu();
|
||||
void initDynamicMenus();
|
||||
void performGracefulShutdown();
|
||||
|
||||
Reference in New Issue
Block a user