Skip to content
Snippets Groups Projects
Commit 19945711 authored by Studer Gabriel's avatar Studer Gabriel
Browse files

silence Qt deprecation warnings

parent 8e1b8358
Branches
Tags
No related merge requests found
......@@ -47,7 +47,7 @@ void EventButton::mouseMoveEvent(QMouseEvent* event){
QDrag* drag = new QDrag(this);
drag->setMimeData(mimeData);
drag->setHotSpot(event->pos() - this->rect().topLeft());
drag->start(Qt::MoveAction);
drag->exec(Qt::MoveAction);
}
void EventButton::dropEvent(QDropEvent* event){
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment