diff options
Diffstat (limited to 'tdeui/klineedit.cpp')
-rw-r--r-- | tdeui/klineedit.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tdeui/klineedit.cpp b/tdeui/klineedit.cpp index c1fc7d8f0..c19d22058 100644 --- a/tdeui/klineedit.cpp +++ b/tdeui/klineedit.cpp @@ -161,7 +161,7 @@ void KLineEdit::setCompletionMode( TDEGlobalSettings::Completion mode ) if ( echoMode() != TQLineEdit::Normal ) mode = TDEGlobalSettings::CompletionNone; // Override the request. - if ( kapp && !kapp->authorize("lineedit_text_completion") ) + if ( tdeApp && !tdeApp->authorize("lineedit_text_completion") ) mode = TDEGlobalSettings::CompletionNone; if ( mode == TDEGlobalSettings::CompletionPopupAuto || @@ -876,7 +876,7 @@ TQPopupMenu *KLineEdit::createPopupMenu() // If a completion object is present and the input // widget is not read-only, show the Text Completion // menu item. - if ( compObj() && !isReadOnly() && kapp->authorize("lineedit_text_completion") ) + if ( compObj() && !isReadOnly() && tdeApp->authorize("lineedit_text_completion") ) { TQPopupMenu *subMenu = new TQPopupMenu( popup ); connect( subMenu, TQ_SIGNAL( activated( int ) ), |