diff options
author | Yoann Laissus <yoann.laissus@gmail.com> | 2012-08-16 16:04:33 +0200 |
---|---|---|
committer | Yoann Laissus <yoann.laissus@gmail.com> | 2012-08-16 16:04:33 +0200 |
commit | 76bb5333c5110eef36080073fc06962d36e8abbf (patch) | |
tree | 077cc2a28f52d3f77d067a48f8a090486b6c9b2f /src/urlbar/bookmarkwidget.h | |
parent | BookmarkWidget: Add an entry to choose a folder with a KBookmarkDialog (diff) | |
download | rekonq-76bb5333c5110eef36080073fc06962d36e8abbf.tar.xz |
BookmarkWidget: Don't use a pointer to store the bookmark
Diffstat (limited to 'src/urlbar/bookmarkwidget.h')
-rw-r--r-- | src/urlbar/bookmarkwidget.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/urlbar/bookmarkwidget.h b/src/urlbar/bookmarkwidget.h index 7e2bb404..a57b2774 100644 --- a/src/urlbar/bookmarkwidget.h +++ b/src/urlbar/bookmarkwidget.h @@ -34,6 +34,9 @@ #include <QGridLayout> #include <QPlainTextEdit> +// KDE Includes +#include <KBookmark> + // Nepomuk config include #include "config-nepomuk.h" @@ -58,7 +61,6 @@ class BookmarkWidget : public QMenu public: explicit BookmarkWidget(const KBookmark &bookmark, QWidget *parent = 0); - virtual ~BookmarkWidget(); void showAt(const QPoint &pos); @@ -86,7 +88,7 @@ private Q_SLOTS: #endif private: - KBookmark *m_bookmark; + KBookmark m_bookmark; KLineEdit *m_name; KComboBox *m_folder; KLineEdit *m_tagLine; |