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() );
if(!e) {
//kDebug( 0 ) << "unknown entity " << str <<", len = " << str.length();
//kDebug() << "unknown entity " << str <<", len = " << str.length();
return QChar();
}

View file

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

View file

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