Replace various '#define' strings - part 6

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/8/head
Michele Calgaro 12 months ago
parent ce81dc9acd
commit f51c73e4ef
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -93,7 +93,7 @@ void console::loadKonsole()
KLibFactory* factory = KLibLoader::self()->factory( "libsanekonsolepart" ); KLibFactory* factory = KLibLoader::self()->factory( "libsanekonsolepart" );
if (!factory) if (!factory)
factory = KLibLoader::self()->factory( "libkonsolepart" ); factory = KLibLoader::self()->factory( "libkonsolepart" );
konsole = static_cast<KParts::Part*>( factory->create( TQT_TQOBJECT(konsoleFrame), "konsolepart", "TQObject", "KParts::ReadOnlyPart" ) ); konsole = static_cast<KParts::Part*>( factory->create( konsoleFrame, "konsolepart", "TQObject", "KParts::ReadOnlyPart" ) );
terminal()->setAutoDestroy( true ); terminal()->setAutoDestroy( true );
terminal()->setAutoStartShell( false ); terminal()->setAutoStartShell( false );
konsole->widget()->setGeometry(0, 0, konsoleFrame->width(), konsoleFrame->height()); konsole->widget()->setGeometry(0, 0, konsoleFrame->width(), konsoleFrame->height());

Loading…
Cancel
Save