fix build without UiTools

This commit is contained in:
Jihadist 2023-01-11 20:47:11 +03:00
parent b0d0fd526b
commit 266b6795da

View File

@ -1443,6 +1443,8 @@ DialogDescriber* ScriptEngineContext::findDialogContainer(const QString& dialogN
return 0; return 0;
} }
#endif
TableOfContents* ScriptEngineContext::tableOfContents() const TableOfContents* ScriptEngineContext::tableOfContents() const
{ {
return m_tableOfContents; return m_tableOfContents;
@ -1474,6 +1476,8 @@ void ScriptEngineContext::setCurrentBand(BandDesignIntf* currentBand)
m_currentBand = currentBand; m_currentBand = currentBand;
} }
#ifdef HAVE_UI_LOADER
QDialog* ScriptEngineContext::getDialog(const QString& dialogName) QDialog* ScriptEngineContext::getDialog(const QString& dialogName)
{ {
QDialog* dialog = findDialog(dialogName); QDialog* dialog = findDialog(dialogName);