]> Git trees. - libqmvoc.git/commitdiff
foreach knows how to iterate over the values of QMaps so don't call values() on the...
authorAlbert Astals Cid <tsdgeos@terra.es>
Sun, 12 Oct 2008 21:08:29 +0000 (21:08 +0000)
committerAlbert Astals Cid <tsdgeos@terra.es>
Sun, 12 Oct 2008 21:08:29 +0000 (21:08 +0000)
svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=870615

keduvocdocument/keduvocarticle.cpp

index feab79df071286c41c45946a0fab641cdc90604d..7eba2c032de3ee36cc841ccfba90cfd896245b22 100644 (file)
@@ -80,7 +80,7 @@ bool KEduVocArticle::isArticle(const QString & article) const
 bool KEduVocArticle::isEmpty()
 {
     // we don't count empty strings as articles
-    foreach(const QString& s, d->m_articles.values())
+    foreach(const QString& s, d->m_articles)
     {
         if (!s.isEmpty())
             return false;