mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-22 21:40:42 +00:00
Proper conversion to QString for DropLineEdit::dropEvent()
This commit is contained in:
parent
d282bead23
commit
867ce686ae
@ -35,7 +35,7 @@ void CSVWidget::DropLineEdit::dropEvent(QDropEvent *event)
|
||||
if (CSVWorld::DragDropUtils::canAcceptData(*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());
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user