Changeset 603 for trunk/src/gui/kernel/qdnd_pm.cpp
- Timestamp:
- Feb 25, 2010, 4:31:14 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gui/kernel/qdnd_pm.cpp
r580 r603 473 473 // flip y coordinate 474 474 QPoint pnt(info->xDrop, info->yDrop); 475 pnt.setY( QApplication::desktop()->height() - (pnt.y() + 1));475 pnt.setY(qt_display_height() - (pnt.y() + 1)); 476 476 pnt = widget->mapFromGlobal(pnt); 477 477 … … 688 688 // flip y coordinate 689 689 QPoint pnt(info->xDrop, info->yDrop); 690 pnt.setY( QApplication::desktop()->height() - (pnt.y() + 1));690 pnt.setY(qt_display_height() - (pnt.y() + 1)); 691 691 pnt = widget->mapFromGlobal(pnt); 692 692 if (dragData->lastDragOverWidget != widget)
Note:
See TracChangeset
for help on using the changeset viewer.