diff options
Diffstat (limited to 'Source/WebCore/page/qt')
-rw-r--r-- | Source/WebCore/page/qt/DragControllerQt.cpp | 4 | ||||
-rw-r--r-- | Source/WebCore/page/qt/FrameQt.cpp | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/Source/WebCore/page/qt/DragControllerQt.cpp b/Source/WebCore/page/qt/DragControllerQt.cpp index 33815b5..cdea55b 100644 --- a/Source/WebCore/page/qt/DragControllerQt.cpp +++ b/Source/WebCore/page/qt/DragControllerQt.cpp @@ -43,7 +43,7 @@ const int DragController::DragIconBottomInset = 3; const float DragController::DragImageAlpha = 0.75f; -bool DragController::isCopyKeyDown() +bool DragController::isCopyKeyDown(DragData*) { return false; } @@ -51,7 +51,7 @@ bool DragController::isCopyKeyDown() DragOperation DragController::dragOperation(DragData* dragData) { //FIXME: This logic is incomplete - if (dragData->containsURL()) + if (dragData->containsURL(0)) return DragOperationCopy; return DragOperationNone; diff --git a/Source/WebCore/page/qt/FrameQt.cpp b/Source/WebCore/page/qt/FrameQt.cpp index 467592c..bb577e0 100644 --- a/Source/WebCore/page/qt/FrameQt.cpp +++ b/Source/WebCore/page/qt/FrameQt.cpp @@ -24,6 +24,7 @@ #include "config.h" #include "Frame.h" #include "FrameView.h" +#include "GraphicsContext.h" #include "Image.h" #include "ImageBuffer.h" |