diff options
Diffstat (limited to 'src/urlbar')
-rw-r--r-- | src/urlbar/bookmarkwidget.cpp | 3 | ||||
-rw-r--r-- | src/urlbar/bookmarkwidget.h | 4 |
2 files changed, 3 insertions, 4 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); diff --git a/src/urlbar/bookmarkwidget.h b/src/urlbar/bookmarkwidget.h index b95e55db..e97c1859 100644 --- a/src/urlbar/bookmarkwidget.h +++ b/src/urlbar/bookmarkwidget.h @@ -31,14 +31,14 @@ #include "rekonq_defines.h" // Qt Includes -#include <QtGui/QFrame> +#include <QtGui/QMenu> // Forward Declarations class KBookmark; class KLineEdit; -class BookmarkWidget : public QFrame +class BookmarkWidget : public QMenu { Q_OBJECT |