summaryrefslogtreecommitdiffstats
path: root/kcoloredit/paletteviewscrolledarea.cpp
diff options
context:
space:
mode:
authorOBATA Akio <obache@wizdas.com>2022-01-26 18:06:18 +0900
committerOBATA Akio <obache@wizdas.com>2022-01-27 17:07:38 +0900
commit5e8185513d4712ebbb649bbbfcd2d4ed75ffff66 (patch)
treeb180201fa0e8cb0175b1ae105d74c0e300b28498 /kcoloredit/paletteviewscrolledarea.cpp
parent052f82743e6a018edaeede3b81955b2121fa6312 (diff)
downloadtdegraphics-5e8185513d4712ebbb649bbbfcd2d4ed75ffff66.tar.gz
tdegraphics-5e8185513d4712ebbb649bbbfcd2d4ed75ffff66.zip
Supersedes deprecated function callsfeat/supersedes-deprecated
Signed-off-by: OBATA Akio <obache@wizdas.com>
Diffstat (limited to 'kcoloredit/paletteviewscrolledarea.cpp')
-rw-r--r--kcoloredit/paletteviewscrolledarea.cpp2
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;