mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-26 18:35:20 +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";
|
std::cout << "drop";
|
||||||
event->acceptProposedAction();
|
event->acceptProposedAction();
|
||||||
|
QModelIndex index = indexAt(event->pos());
|
||||||
|
std::cout << index.row();
|
||||||
}
|
}
|
||||||
|
|
||||||
void CSVWorld::Table::dragMoveEvent(QDragMoveEvent *event)
|
void CSVWorld::Table::dragMoveEvent(QDragMoveEvent *event)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user