1
0
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:
gus 2014-02-12 11:32:01 +01:00
parent 2e33ab3a13
commit 6cf561f713

View File

@ -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)