diff options
Diffstat (limited to 'kcoloredit/paletteviewscrolledarea.cpp')
-rw-r--r-- | kcoloredit/paletteviewscrolledarea.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kcoloredit/paletteviewscrolledarea.cpp b/kcoloredit/paletteviewscrolledarea.cpp index 3a70aacc..cca9e39a 100644 --- a/kcoloredit/paletteviewscrolledarea.cpp +++ b/kcoloredit/paletteviewscrolledarea.cpp @@ -372,7 +372,7 @@ void PaletteViewScrolledArea::mouseMoveEvent(TQMouseEvent* event) { if(abs( event->x() - colorDragPoint.x() ) > 2 || abs( event->y() - colorDragPoint.y() ) > 2) { TQColor draggedColor = color(colorDragPoint); - KColorDrag* colorDrag = KColorDrag::makeDrag(draggedColor, this); + KColorDrag* colorDrag = new KColorDrag(draggedColor, this); colorDrag->dragCopy(); } else colorChosen = true; |