Finish 1.4.65

This commit is contained in:
Arin Alexander 2018-01-26 17:38:36 +03:00
commit f8eb1ceb97

View File

@ -83,6 +83,7 @@ ReportEnginePrivate::ReportEnginePrivate(QObject *parent) :
#endif #endif
m_datasources = new DataSourceManager(this); m_datasources = new DataSourceManager(this);
m_datasources->setReportSettings(&m_reportSettings); m_datasources->setReportSettings(&m_reportSettings);
scriptManager()->setDataManager(m_datasources);
m_scriptEngineContext = new ScriptEngineContext(this); m_scriptEngineContext = new ScriptEngineContext(this);
ICallbackDatasource* tableOfContents = m_datasources->createCallbackDatasource("tableofcontents"); ICallbackDatasource* tableOfContents = m_datasources->createCallbackDatasource("tableofcontents");