diff options
Diffstat (limited to 'src/urlbar')
-rw-r--r-- | src/urlbar/bookmarkwidget.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/urlbar/bookmarkwidget.cpp b/src/urlbar/bookmarkwidget.cpp index 47c06d75..e266a071 100644 --- a/src/urlbar/bookmarkwidget.cpp +++ b/src/urlbar/bookmarkwidget.cpp @@ -154,7 +154,7 @@ BookmarkWidget::BookmarkWidget(const KBookmark &bookmark, QWidget *parent) QList<Nepomuk::Tag> tagList = Nepomuk::Tag::allTags(); - Q_FOREACH(Nepomuk::Tag t, tagList) + Q_FOREACH(const Nepomuk::Tag &t, tagList) { m_tList.append(t.label()); } @@ -296,6 +296,7 @@ void BookmarkWidget::addTags(QList<Nepomuk::Tag> tagList) m_nfoResource.addTag(tag); } } + Q_FOREACH(Nepomuk::Tag tag, m_nfoResource.tags()) { if (!tagList.contains(tag)) |