[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdelibs/kde3support/kdeui
From: Oswald Buddenhagen <ossi () kde ! org>
Date: 2009-02-08 15:57:59
Message-ID: 1234108679.398269.3637.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 923327 by ossi:
fix some warnings
M +2 -2 k3listview.cpp
M +3 -3 k3spell.cpp
M +2 -1 k3syntaxhighlighter.cpp
--- trunk/KDE/kdelibs/kde3support/kdeui/k3listview.cpp #923326:923327
@@ -1121,7 +1121,7 @@
Q3ListViewItem* lastchild = firstChild();
if (lastchild)
- for (; lastchild->nextSibling(); lastchild = lastchild->nextSibling());
+ for (; lastchild->nextSibling(); lastchild = lastchild->nextSibling()) ;
return lastchild;
}
@@ -1859,7 +1859,7 @@
else {
Q3ListViewItemIterator it(firstChild());
uint j = 0;
- for (; it.current() && it.current() != item; ++it, ++j );
+ for (; it.current() && it.current() != item; ++it, ++j ) ;
if( !it.current() )
return -1;
--- trunk/KDE/kdelibs/kde3support/kdeui/k3spell.cpp #923326:923327
@@ -588,7 +588,7 @@
}
QByteArray data;
- while (proc->readLine( data.data(), data.count() ) != -1 ); // eat spurious blanks
+ while (proc->readLine( data.data(), data.count() ) != -1 ) ; // eat spurious blanks
OUTPUT(checkWord2);
// connect (this, SIGNAL (dialog3()), this, SLOT (checkWord3()));
@@ -615,7 +615,7 @@
</sanders>
*/
QByteArray data;
- while (proc->readLine( data.data(), data.count() ) != -1 ); // eat spurious blanks
+ while (proc->readLine( data.data(), data.count() ) != -1 ) ; // eat spurious blanks
NOOUTPUT(checkWord2);
bool mistake = ( parseOneResponse(line, word, sugg) == MISTAKE );
@@ -666,7 +666,7 @@
additional blank line, indicating that ispell has completed processing
the input line." */
QByteArray data;
- while (proc->readLine( data.data(), data.count() ) != -1 ); // eat spurious blanks
+ while (proc->readLine( data.data(), data.count() ) != -1 ) ; // eat spurious blanks
NOOUTPUT(checkWord2);
--- trunk/KDE/kdelibs/kde3support/kdeui/k3syntaxhighlighter.cpp #923326:923327
@@ -571,12 +571,13 @@
d->active = true;
}
if ( d->active != savedActive ) {
- if ( d->wordCount > 1 )
+ if ( d->wordCount > 1 ) {
if ( d->active )
emit activeChanged( i18n("As-you-type spell checking enabled.") );
else
emit activeChanged( i18n( "Too many misspelled words. "
"As-you-type spell checking disabled." ) );
+ }
d->completeRehighlightRequired = true;
d->rehighlightRequest->start( 100, true );
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic