Fixed support for multiple terminals. This relates to bug 2537.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/5/head
Michele Calgaro 5 년 전
부모 28785edb58
커밋 391b8b4ad0
로그인 계정: MicheleC
GPG 키 ID: 2A75B7CA8ADED5CF

@ -33,7 +33,11 @@ Terminal::Terminal(TQWidget* parent, const char* name) : TQObject(parent, name)
terminal_interface = NULL;
if ((factory = KLibLoader::self()->factory("libkonsolepart")) != NULL)
terminal_part = (KParts::Part *) (factory->create(TQT_TQOBJECT(parent)));
{
TQStringList args = TQStringList();
args.append(TQString("Terminal-") + TQString::number(terminal_id));
terminal_part = (KParts::Part *) (factory->create(TQT_TQOBJECT(parent), 0, "KParts::Part", args));
}
if (terminal_part != NULL)
{

불러오는 중...
취소
저장