mirror of
https://github.com/fralx/LimeReport.git
synced 2024-12-24 16:44:39 +03:00
Build with uitools has been fixed
This commit is contained in:
parent
4520347dbe
commit
db87e5dc9e
@ -295,9 +295,9 @@ void ReportRender::initVariables()
|
||||
#ifdef HAVE_UI_LOADER
|
||||
void ReportRender::initDialogs(){
|
||||
if (m_scriptEngineContext){
|
||||
QScriptEngine* se = ScriptEngineManager::instance().scriptEngine();
|
||||
ScriptEngineType* se = ScriptEngineManager::instance().scriptEngine();
|
||||
foreach(DialogDescriber::Ptr dialog, m_scriptEngineContext->dialogsDescriber()){
|
||||
QScriptValue sv = se->newQObject(m_scriptEngineContext->getDialog(dialog->name()));
|
||||
ScriptValueType sv = se->newQObject(m_scriptEngineContext->getDialog(dialog->name()));
|
||||
se->globalObject().setProperty(dialog->name(),sv);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user