diff options
author | Jon Ander Peñalba <jonan88@gmail.com> | 2010-09-10 10:28:15 +0200 |
---|---|---|
committer | Jon Ander Peñalba <jonan88@gmail.com> | 2010-09-10 10:28:29 +0200 |
commit | 1d341f01de25b734fbc52fd14394b7f4cdcd4214 (patch) | |
tree | 70dc86a783b345c43ed82941d66688454be28f6d /src/urlbar/bookmarkwidget.cpp | |
parent | No need to show the url in the bookmark widget (specially if it's not editable). (diff) | |
download | rekonq-1d341f01de25b734fbc52fd14394b7f4cdcd4214.tar.xz |
BookmarkWidget now inherits from QMenu (much nicer).
Diffstat (limited to 'src/urlbar/bookmarkwidget.cpp')
-rw-r--r-- | src/urlbar/bookmarkwidget.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/urlbar/bookmarkwidget.cpp b/src/urlbar/bookmarkwidget.cpp index 6b507490..ca04cd4f 100644 --- a/src/urlbar/bookmarkwidget.cpp +++ b/src/urlbar/bookmarkwidget.cpp @@ -46,12 +46,11 @@ BookmarkWidget::BookmarkWidget(const KBookmark &bookmark, QWidget *parent) - : QFrame(parent, Qt::Popup) + : QMenu(parent) , m_bookmark(new KBookmark(bookmark)) { setAttribute(Qt::WA_DeleteOnClose); setFixedWidth(350); - setFrameStyle(QFrame::Panel); QFormLayout *layout = new QFormLayout(this); |