diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2013-01-02 11:08:44 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2013-01-02 11:08:44 +0100 |
commit | 2d812b51baee6003f87cd307df3e684e1c9ff3c5 (patch) | |
tree | e23947320045e024888a80118b2c4a8bcb33d426 /src/urlbar | |
parent | Fix qt website (diff) | |
download | rekonq-2d812b51baee6003f87cd307df3e684e1c9ff3c5.tar.xz |
Krazy fixes, third shot
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)) |