]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/tagcloud/tagcloud.cpp
1) Make sure that size qprogressbar is really updated after each change
[dolphin.git] / src / tagcloud / tagcloud.cpp
index 0cfe7688536309ce11a0ff633c7b70446abfbf02..e59074fab52334331eaec4656ee3ad99f0b0ded7 100644 (file)
@@ -651,7 +651,7 @@ void Nepomuk::TagCloud::showTags( const QList<Tag>& tags )
     d->showAllTags = false;
     d->invalidateCachedValues();
     d->nodes.clear();
-    Q_FOREACH( Tag tag, tags ) {
+    Q_FOREACH( const Tag &tag, tags ) {
         TagNode node;
         node.tag = tag;
         node.weight = d->calculateWeight( tag );