summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/urlbar/bookmarkwidget.cpp2
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"));