summaryrefslogtreecommitdiffstats
path: root/kdpkg-install/console.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kdpkg-install/console.cpp')
-rw-r--r--kdpkg-install/console.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kdpkg-install/console.cpp b/kdpkg-install/console.cpp
index fa404ce..d5586b3 100644
--- a/kdpkg-install/console.cpp
+++ b/kdpkg-install/console.cpp
@@ -93,7 +93,7 @@ void console::loadKonsole()
KLibFactory* factory = KLibLoader::self()->factory( "libsanekonsolepart" );
if (!factory)
factory = KLibLoader::self()->factory( "libkonsolepart" );
- konsole = static_cast<KParts::Part*>( factory->create( TQT_TQOBJECT(konsoleFrame), "konsolepart", TQOBJECT_OBJECT_NAME_STRING, "KParts::ReadOnlyPart" ) );
+ konsole = static_cast<KParts::Part*>( factory->create( TQT_TQOBJECT(konsoleFrame), "konsolepart", "TQObject", "KParts::ReadOnlyPart" ) );
terminal()->setAutoDestroy( true );
terminal()->setAutoStartShell( false );
konsole->widget()->setGeometry(0, 0, konsoleFrame->width(), konsoleFrame->height());