┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/panels/places
diff options
context:
space:
mode:
authorMéven Car <[email protected]>2023-05-07 18:27:41 +0200
committerMéven Car <[email protected]>2023-05-07 18:32:17 +0200
commit76e3eab6ea3545339da2fd30b838acbc8c0ff607 (patch)
tree2be5b853259671d3f2706e26aff6325c94112ff7 /src/panels/places
parent7056356c2eae28d3a5513157ba4d34609cd7d45f (diff)
Port to Qt6
Diffstat (limited to 'src/panels/places')
-rw-r--r--src/panels/places/placespanel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/panels/places/placespanel.cpp b/src/panels/places/placespanel.cpp
index 6467f9c23..2155f29bd 100644
--- a/src/panels/places/placespanel.cpp
+++ b/src/panels/places/placespanel.cpp
@@ -142,7 +142,7 @@ static bool isInternalDrag(const QMimeData *mimeData)
void PlacesPanel::dragMoveEvent(QDragMoveEvent *event)
{
- const QModelIndex index = indexAt(event->pos());
+ const QModelIndex index = indexAt(event->position().toPoint());
if (index.isValid()) {
auto *placesModel = static_cast<KFilePlacesModel *>(model());