diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2012-12-28 16:50:41 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2012-12-28 16:50:41 +0100 |
commit | faa7f72c417b4ccd9b794b32b988312186d62e59 (patch) | |
tree | 19a4db56f1526e073ce87a0c05a0923d5a6e442f /src/urlbar/bookmarkwidget.cpp | |
parent | SVN_SILENT made messages (.desktop file) (diff) | |
download | rekonq-faa7f72c417b4ccd9b794b32b988312186d62e59.tar.xz |
Krazy Fixes, first shot
Diffstat (limited to 'src/urlbar/bookmarkwidget.cpp')
-rw-r--r-- | src/urlbar/bookmarkwidget.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/urlbar/bookmarkwidget.cpp b/src/urlbar/bookmarkwidget.cpp index 6b39c2c8..47c06d75 100644 --- a/src/urlbar/bookmarkwidget.cpp +++ b/src/urlbar/bookmarkwidget.cpp @@ -51,9 +51,6 @@ #include <QDBusConnection> #include <QDBusConnectionInterface> -// Nepomuk config include -#include "config-nepomuk.h" - #ifdef HAVE_NEPOMUK // Local Nepomuk Includes #include "resourcelinkdialog.h" @@ -360,7 +357,9 @@ void BookmarkWidget::addCommentSlot() void BookmarkWidget::linkToResourceSlot() { - Nepomuk::ResourceLinkDialog r(m_nfoResource); - r.exec(); + QPointer<Nepomuk::ResourceLinkDialog> r = new Nepomuk::ResourceLinkDialog(m_nfoResource); + r->exec(); + + r->deleteLater(); } #endif |