summaryrefslogtreecommitdiffstats
path: root/scriptrunner.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scriptrunner.cpp')
-rw-r--r--scriptrunner.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/scriptrunner.cpp b/scriptrunner.cpp
index b724af2..097548f 100644
--- a/scriptrunner.cpp
+++ b/scriptrunner.cpp
@@ -43,6 +43,7 @@
#include <wrap_helpers.h>
#include "scriptwrappers.h"
#include "enumwappers.h"
+#include "utils/dialogs.h"
using namespace Scripting;
using namespace Scripting::Internal;
@@ -92,6 +93,7 @@ ScriptRunner::QScriptEnginePtr ScriptRunner::ensureEngineInitialized()
registerGlobal(new Console, QLatin1String("console"));
registerGlobal(new Editors, QLatin1String("editors"));
+ registerGlobal(new Dialogs, QLatin1String("dialogs"));
registerWrappers(m_engine.data());
registerEnums(m_engine.data());
return m_engine;