diff options
Diffstat (limited to 'src/bookmarks/bookmarkowner.cpp')
-rw-r--r-- | src/bookmarks/bookmarkowner.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/bookmarks/bookmarkowner.cpp b/src/bookmarks/bookmarkowner.cpp index 20a602a6..ba2d8f63 100644 --- a/src/bookmarks/bookmarkowner.cpp +++ b/src/bookmarks/bookmarkowner.cpp @@ -46,9 +46,7 @@ // Qt Includes #include <QClipboard> -// Nepomuk config include -#include "config-nepomuk.h" - +// Nepomuk Includes #ifdef HAVE_NEPOMUK // Local Nepomuk Includes #include "resourcelinkdialog.h" @@ -330,9 +328,11 @@ void BookmarkOwner::editBookmark(KBookmark bookmark) void BookmarkOwner::fancyBookmark(KBookmark bookmark) { Nepomuk::Resource nfoResource = (KUrl)bookmark.url(); - Nepomuk::ResourceLinkDialog r(nfoResource); - r.exec(); + QPointer<Nepomuk::ResourceLinkDialog> r = new Nepomuk::ResourceLinkDialog(nfoResource); + r->exec(); + + r->deleteLater(); } #endif |