summaryrefslogtreecommitdiffstats
path: root/src/libgui/console.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libgui/console.cpp')
-rw-r--r--src/libgui/console.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libgui/console.cpp b/src/libgui/console.cpp
index 693b831..58830a8 100644
--- a/src/libgui/console.cpp
+++ b/src/libgui/console.cpp
@@ -32,7 +32,7 @@ void ConsoleView::showEvent(TQShowEvent *e)
top->addWidget(label);
return;
} else {
- TQWidget *pwidget = static_cast<KParts::Part *>(factory->create(TQT_TQOBJECT(this), "konsole"))->widget();
+ TQWidget *pwidget = static_cast<KParts::Part *>(factory->create(this, "konsole"))->widget();
pwidget->show();
top->addWidget(pwidget);
setFocusProxy(pwidget);