diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2013-02-27 18:20:12 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2013-02-27 18:20:12 +0100 |
commit | 4775f06924e5f7fca91dc5000462254c4d79323d (patch) | |
tree | 82d1cd99eb46a73c87943e6e5e549b27a64538c2 /src | |
parent | Properly manage open in new tab/window selected urls (diff) | |
download | rekonq-4775f06924e5f7fca91dc5000462254c4d79323d.tar.xz |
Don't use deprecated setRating(unsigned int) slot
i.e.: don't see the deprecated warning on compilation ;)
Diffstat (limited to 'src')
-rw-r--r-- | src/urlbar/bookmarkwidget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/urlbar/bookmarkwidget.cpp b/src/urlbar/bookmarkwidget.cpp index f3ac6d9d..76e1c9ac 100644 --- a/src/urlbar/bookmarkwidget.cpp +++ b/src/urlbar/bookmarkwidget.cpp @@ -129,7 +129,7 @@ BookmarkWidget::BookmarkWidget(const KBookmark &bookmark, QWidget *parent) KRatingWidget *ratingWidget = new KRatingWidget(this); if (m_nfoResource.rating() != 0) { - ratingWidget->setRating(m_nfoResource.rating()); + ratingWidget->setRating((int)m_nfoResource.rating()); } connect(ratingWidget, SIGNAL(ratingChanged(int)), this, SLOT(setRatingSlot(int))); ratingWidget->setToolTip(i18n("Rate this page")); |