mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-03-03 17:49:41 +00:00
Proper conversion to QString for DropLineEdit::dropEvent()
This commit is contained in:
parent
d282bead23
commit
867ce686ae
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ void CSVWidget::DropLineEdit::dropEvent(QDropEvent *event)
|
||||||
if (CSVWorld::DragDropUtils::canAcceptData(*event, mDropType))
|
if (CSVWorld::DragDropUtils::canAcceptData(*event, mDropType))
|
||||||
{
|
{
|
||||||
CSMWorld::UniversalId id = CSVWorld::DragDropUtils::getAcceptedData(*event, mDropType);
|
CSMWorld::UniversalId id = CSVWorld::DragDropUtils::getAcceptedData(*event, mDropType);
|
||||||
setText(id.getId().c_str());
|
setText(QString::fromUtf8(id.getId().c_str()));
|
||||||
emit tableMimeDataDropped(id, CSVWorld::DragDropUtils::getTableMimeData(*event)->getDocumentPtr());
|
emit tableMimeDataDropped(id, CSVWorld::DragDropUtils::getTableMimeData(*event)->getDocumentPtr());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue