forked from mirror/openmw-tes3mp
get index to where we are dropping
This commit is contained in:
parent
2e33ab3a13
commit
6cf561f713
1 changed files with 2 additions and 0 deletions
|
@ -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…
Reference in a new issue