summaryrefslogtreecommitdiffstats
path: root/kbabel/commonui/context.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kbabel/commonui/context.cpp')
-rw-r--r--kbabel/commonui/context.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kbabel/commonui/context.cpp b/kbabel/commonui/context.cpp
index 63e07b28..4c91d1ad 100644
--- a/kbabel/commonui/context.cpp
+++ b/kbabel/commonui/context.cpp
@@ -278,7 +278,7 @@ bool SourceContext::loadPart()
_view=0;
return false;
}
- _part = static_cast<KTextEditor::Document *>( factory->create( this, 0, "KTextEditor::Document" ) );
+ _part = static_cast<KTextEditor::Document *>( factory->create( TQT_TQOBJECT(this), 0, "KTextEditor::Document" ) );
if( !_part )
{