diff options
Diffstat (limited to 'src/bookmarkselector.cpp')
| -rw-r--r-- | src/bookmarkselector.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bookmarkselector.cpp b/src/bookmarkselector.cpp index 4c091d33b..49267f873 100644 --- a/src/bookmarkselector.cpp +++ b/src/bookmarkselector.cpp @@ -38,7 +38,7 @@ BookmarkSelector::BookmarkSelector(URLNavigator* parent) : URLButton(parent), m_selectedIndex(0) { - setFocusPolicy(QWidget::NoFocus); + setFocusPolicy(Qt::NoFocus); m_bookmarksMenu = new Q3PopupMenu(this); @@ -83,7 +83,7 @@ void BookmarkSelector::updateSelection(const KUrl& url) while (!bookmark.isNull()) { const KUrl bookmarkURL = bookmark.url(); if (bookmarkURL.isParentOf(url)) { - const int length = bookmarkURL.prettyURL().length(); + const int length = bookmarkURL.prettyUrl().length(); if (length > maxLength) { m_selectedIndex = i; setPixmap(SmallIcon(bookmark.icon())); @@ -144,7 +144,7 @@ void BookmarkSelector::drawButton(QPainter* painter) } // draw button backround - painter->setPen(NoPen); + painter->setPen(Qt::NoPen); painter->setBrush(backgroundColor); painter->drawRect(0, 0, buttonWidth, buttonHeight); |
