summaryrefslogtreecommitdiffstats
path: root/src/modules/term/termwidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/term/termwidget.cpp')
-rw-r--r--src/modules/term/termwidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/term/termwidget.cpp b/src/modules/term/termwidget.cpp
index 04d61567..d2618463 100644
--- a/src/modules/term/termwidget.cpp
+++ b/src/modules/term/termwidget.cpp
@@ -141,7 +141,7 @@ void KviTermWidget::konsoleDestroyed()
void KviTermWidget::autoClose()
{
if(m_bIsStandalone)delete this;
- else ((KviWindow *)tqparent())->close();
+ else ((KviWindow *)parent())->close();
}
void KviTermWidget::changeTitle(int i,const TQString& str)