summaryrefslogtreecommitdiff
path: root/src/webview.cpp
diff options
context:
space:
mode:
authorDavid E. Narváez <david.narvaez@computer.org>2012-03-19 00:23:23 -0500
committerDavid E. Narváez <david.narvaez@computer.org>2012-03-19 00:23:23 -0500
commitd787c252f073fab19e97cf10884591053fe05aec (patch)
treecb68896e75170cb176def71c7455526d4c463f7d /src/webview.cpp
parentrekonq 0.9.53 (diff)
downloadrekonq-d787c252f073fab19e97cf10884591053fe05aec.tar.xz
Change Bookmark MIME Type and Centralize
As discussed in the mailing list, this changes the MIME type to x-rekonq-bookmark and centralizes all references to that MIME type in one static method. REVIEW: 104197
Diffstat (limited to 'src/webview.cpp')
-rw-r--r--src/webview.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/webview.cpp b/src/webview.cpp
index 3d4d7dcf..d2e351c4 100644
--- a/src/webview.cpp
+++ b/src/webview.cpp
@@ -512,9 +512,9 @@ void WebView::mouseMoveEvent(QMouseEvent *event)
void WebView::dropEvent(QDropEvent *event)
{
bool isEditable = page()->frameAt(event->pos())->hitTestContent(event->pos()).isContentEditable();
- if (event->mimeData()->hasFormat("application/rekonq-bookmark"))
+ if (event->mimeData()->hasFormat(BookmarkManager::bookmark_mime_type()))
{
- QByteArray addresses = event->mimeData()->data("application/rekonq-bookmark");
+ QByteArray addresses = event->mimeData()->data(BookmarkManager::bookmark_mime_type());
KBookmark bookmark = rApp->bookmarkManager()->findByAddress(QString::fromLatin1(addresses.data()));
if (bookmark.isGroup())
{