summaryrefslogtreecommitdiffstats
path: root/chalk/plugins/viewplugins/scripting/scripting.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-12-14 21:19:12 +0900
committerMichele Calgaro <[email protected]>2023-12-24 16:56:48 +0900
commit757d80a919132cf72773928d53d100d22358de34 (patch)
tree78f1145fbd227d1135514b40e66e2e4bcbe3fcce /chalk/plugins/viewplugins/scripting/scripting.cpp
parent9abcf51de91242d1ab70230ba46abd2108416edf (diff)
downloadkoffice-757d80a919132cf72773928d53d100d22358de34.tar.gz
koffice-757d80a919132cf72773928d53d100d22358de34.zip
Remove various '#define' strings - part 6
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit 3aab8aa05b954b80e336517f93463a9b5f50f3d6)
Diffstat (limited to 'chalk/plugins/viewplugins/scripting/scripting.cpp')
-rw-r--r--chalk/plugins/viewplugins/scripting/scripting.cpp2
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");