diff options
Diffstat (limited to 'chalk/plugins/viewplugins/scripting/scripting.cpp')
-rw-r--r-- | chalk/plugins/viewplugins/scripting/scripting.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chalk/plugins/viewplugins/scripting/scripting.cpp b/chalk/plugins/viewplugins/scripting/scripting.cpp index 207bc0ce..5c317ad2 100644 --- a/chalk/plugins/viewplugins/scripting/scripting.cpp +++ b/chalk/plugins/viewplugins/scripting/scripting.cpp @@ -81,7 +81,7 @@ Scripting::Scripting(TQObject *parent, const char *name, const TQStringList &) KisScriptMonitor::instance()->monitor( m_scriptguiclient ); Kross::Api::Manager::scriptManager()->addTQObject(m_view->canvasSubject()->document(), "ChalkDocument"); - Kross::Api::Manager::scriptManager()->addTQObject(TQT_TQOBJECT(m_view), "ChalkView"); + Kross::Api::Manager::scriptManager()->addTQObject(m_view, "ChalkView"); m_scriptProgress = new KisScriptProgress(m_view); Kross::Api::Manager::scriptManager()->addTQObject(m_scriptProgress, "ChalkScriptProgress"); |