using namespace WebCore;
QWebPagePrivate::QWebPagePrivate(QWebPage *qq)
- : q(qq), modified(false)
+ : q(qq)
+ , modified(false)
{
q->setMouseTracking(true);
q->setFocusPolicy(Qt::ClickFocus);
void QWebPage::dragLeaveEvent(QDragLeaveEvent *ev)
{
-#ifndef QT_NO_DRAGANDDROP
- DragData dragData(0, IntPoint(), QCursor::pos(), DragOperationNone);
- d->page->dragController()->dragExited(&dragData);
- ev->accept();
-#endif
+ // nothing to do here for the moment
}
void QWebPage::dragMoveEvent(QDragMoveEvent *ev)
+2007-10-31 Lars Knoll <lars@trolltech.com>
+
+ Reviewed by Simon.
+
+ a dragLeave event is not the same as cancelling a drag.
+
+ * Api/qwebpage.cpp:
+
2007-10-26 Mark Rowe <mrowe@apple.com>
Build fix. Add missing #include of Platform.h.