summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2013-01-02 11:08:44 +0100
committerAndrea Diamantini <adjam7@gmail.com>2013-01-02 11:08:44 +0100
commit2d812b51baee6003f87cd307df3e684e1c9ff3c5 (patch)
treee23947320045e024888a80118b2c4a8bcb33d426 /src
parentFix qt website (diff)
downloadrekonq-2d812b51baee6003f87cd307df3e684e1c9ff3c5.tar.xz
Krazy fixes, third shot
Diffstat (limited to 'src')
-rw-r--r--src/tabwindow/tabwindow.h2
-rw-r--r--src/urlbar/bookmarkwidget.cpp3
2 files changed, 3 insertions, 2 deletions
diff --git a/src/tabwindow/tabwindow.h b/src/tabwindow/tabwindow.h
index 3c7d9c8b..018ad0e7 100644
--- a/src/tabwindow/tabwindow.h
+++ b/src/tabwindow/tabwindow.h
@@ -61,7 +61,7 @@ class TabWindow : public RekonqWindow
public:
explicit TabWindow(bool withTab = true, bool PrivateBrowsingMode = false, QWidget *parent = 0);
- TabWindow(WebPage *pg, QWidget *parent = 0);
+ explicit TabWindow(WebPage *pg, QWidget *parent = 0);
WebWindow* currentWebWindow() const;
WebWindow* webWindow(int index) const;
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))