diff options
Diffstat (limited to 'src/urlbar')
-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")); |