mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-11 09:36:37 +00:00
get index to where we are dropping
This commit is contained in:
parent
2e33ab3a13
commit
6cf561f713
@ -465,6 +465,8 @@ void CSVWorld::Table::dropEvent(QDropEvent *event)
|
||||
{
|
||||
std::cout << "drop";
|
||||
event->acceptProposedAction();
|
||||
QModelIndex index = indexAt(event->pos());
|
||||
std::cout << index.row();
|
||||
}
|
||||
|
||||
void CSVWorld::Table::dragMoveEvent(QDragMoveEvent *event)
|
||||
|
Loading…
Reference in New Issue
Block a user