generic: remove reference to default debug area

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2022-10-23 00:10:46 +03:00
parent ebdee75650
commit d9ccab2651
3 changed files with 6 additions and 6 deletions

View file

@ -121,7 +121,7 @@ QChar KCharsets::fromEntity(const QString &str)
const entity *e = EntitiesHash::kde_findEntity( raw, raw.length() ); const entity *e = EntitiesHash::kde_findEntity( raw, raw.length() );
if(!e) { if(!e) {
//kDebug( 0 ) << "unknown entity " << str <<", len = " << str.length(); //kDebug() << "unknown entity " << str <<", len = " << str.length();
return QChar(); return QChar();
} }

View file

@ -141,14 +141,14 @@ bool Highlighter::spellCheckerFound() const
void Highlighter::slotRehighlight() void Highlighter::slotRehighlight()
{ {
kDebug(0) << "Highlighter::slotRehighlight()"; kDebug() << "Highlighter::slotRehighlight()";
if (d->completeRehighlightRequired) { if (d->completeRehighlightRequired) {
d->wordCount = 0; d->wordCount = 0;
d->errorCount = 0; d->errorCount = 0;
rehighlight(); rehighlight();
} else { } else {
//rehighlight the current para only (undo/redo safe) //rehighlight the current para only (undo/redo safe)
QTextCursor cursor = d->edit->textCursor(); QTextCursor cursor = d->edit->textCursor();
cursor.insertText( "" ); cursor.insertText( "" );
} }

View file

@ -227,7 +227,7 @@ QString KCompletion::makeCompletion( const QString& string )
if ( d->myCompletionMode == KGlobalSettings::CompletionNone ) if ( d->myCompletionMode == KGlobalSettings::CompletionNone )
return QString(); return QString();
//kDebug(0) << "KCompletion: completing: " << string; //kDebug() << "KCompletion: completing: " << string;
d->matches.clear(); d->matches.clear();
d->myRotationIndex = 0; d->myRotationIndex = 0;
@ -273,7 +273,7 @@ QString KCompletion::makeCompletion( const QString& string )
postProcessMatch( &completion ); postProcessMatch( &completion );
if ( !string.isEmpty() ) { // only emit match when string is not empty if ( !string.isEmpty() ) { // only emit match when string is not empty
//kDebug(0) << "KCompletion: Match: " << completion; //kDebug() << "KCompletion: Match: " << completion;
emit match( completion ); emit match( completion );
} }
@ -551,7 +551,7 @@ void KCompletion::findAllCompletions(const QString& string,
KCompletionMatchesWrapper *matches, KCompletionMatchesWrapper *matches,
bool& hasMultipleMatches) const bool& hasMultipleMatches) const
{ {
//kDebug(0) << "*** finding all completions for " << string; //kDebug() << "*** finding all completions for " << string;
if ( string.isEmpty() ) if ( string.isEmpty() )
return; return;