diff options
Diffstat (limited to 'src/libgui/text_editor.cpp')
-rw-r--r-- | src/libgui/text_editor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libgui/text_editor.cpp b/src/libgui/text_editor.cpp index 34efcd7..bad8ee0 100644 --- a/src/libgui/text_editor.cpp +++ b/src/libgui/text_editor.cpp @@ -47,7 +47,7 @@ TextEditor::TextEditor(bool withDebugger, TQWidget *parent, const char *name) { KLibFactory *factory = KLibLoader::self()->factory("libkatepart"); if ( factory==0 ) tqFatal("Could not find katepart"); - _document = static_cast<Kate::Document *>(factory->create(TQT_TQOBJECT(this), "kate", "KTextEditor::Document")); + _document = static_cast<Kate::Document *>(factory->create(this, "kate", "KTextEditor::Document")); _oldModified = _document->isModified(); _oldReadOnly = !_document->isReadWrite(); |