From 757d80a919132cf72773928d53d100d22358de34 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 14 Dec 2023 21:19:12 +0900 Subject: Remove various '#define' strings - part 6 Signed-off-by: Michele Calgaro (cherry picked from commit 3aab8aa05b954b80e336517f93463a9b5f50f3d6) --- chalk/plugins/viewplugins/scripting/scripting.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'chalk/plugins/viewplugins/scripting/scripting.cpp') 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"); -- cgit v1.2.1