summaryrefslogtreecommitdiffstats
path: root/kate/kjswrapper/plugin_katekjswrapper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kate/kjswrapper/plugin_katekjswrapper.cpp')
-rw-r--r--kate/kjswrapper/plugin_katekjswrapper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kate/kjswrapper/plugin_katekjswrapper.cpp b/kate/kjswrapper/plugin_katekjswrapper.cpp
index ac7a9a3..ff87170 100644
--- a/kate/kjswrapper/plugin_katekjswrapper.cpp
+++ b/kate/kjswrapper/plugin_katekjswrapper.cpp
@@ -342,7 +342,7 @@ void PluginKateKJSWrapper::addView(Kate::MainWindow *win)
if (exec->hadException()) kdDebug()<<"void PluginKateKJSWrapper::addView(Kate::MainWindow *win): exec had an exception - 2"<<endl;
- view->setInstance (new KInstance("kate"));
+ view->setInstance (new TDEInstance("kate"));
view->setXMLFile(TQString("plugins/%1/%2.rc").arg(m_scriptname).arg(m_scriptname));
win->guiFactory()->addClient (view);
}