diff options
-rw-r--r-- | yakuake/src/terminal.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/yakuake/src/terminal.cpp b/yakuake/src/terminal.cpp index eae6553..75dd942 100644 --- a/yakuake/src/terminal.cpp +++ b/yakuake/src/terminal.cpp @@ -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) { |