diff options
Diffstat (limited to 'kcontrol/tdeio')
-rw-r--r-- | kcontrol/tdeio/uagentproviderdlg.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kcontrol/tdeio/uagentproviderdlg.cpp b/kcontrol/tdeio/uagentproviderdlg.cpp index 5e5cbd233..821d2e8e4 100644 --- a/kcontrol/tdeio/uagentproviderdlg.cpp +++ b/kcontrol/tdeio/uagentproviderdlg.cpp @@ -45,8 +45,8 @@ void UALineEdit::keyPressEvent( TQKeyEvent* e ) { int key = e->key(); TQString keycode = e->text(); - if ( (key >= Qt::Key_Escape && key <= Qt::Key_Help) || key == Qt::Key_Period || - (cursorPosition() > 0 && key == Qt::Key_Minus) || + if ( (key >= TQt::Key_Escape && key <= TQt::Key_Help) || key == TQt::Key_Period || + (cursorPosition() > 0 && key == TQt::Key_Minus) || (!keycode.isEmpty() && keycode.unicode()->isLetterOrNumber()) ) { KLineEdit::keyPressEvent(e); |