summaryrefslogtreecommitdiffstats
path: root/tdeui/ktextedit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdeui/ktextedit.cpp')
-rw-r--r--tdeui/ktextedit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tdeui/ktextedit.cpp b/tdeui/ktextedit.cpp
index 73bbf3c5f..be8e2925f 100644
--- a/tdeui/ktextedit.cpp
+++ b/tdeui/ktextedit.cpp
@@ -182,7 +182,7 @@ void KTextEdit::keyPressEvent( TQKeyEvent *e )
// ignore Ctrl-Return so that KDialogs can close the dialog
else if ( e->state() == ControlButton &&
(e->key() == Key_Return || e->key() == Key_Enter) &&
- tqtopLevelWidget()->inherits( "KDialog" ) )
+ topLevelWidget()->inherits( "KDialog" ) )
{
e->ignore();
return;