mirror of
https://github.com/vcmi/vcmi.git
synced 2026-06-19 22:57:37 +02:00
Fix linux build
This commit is contained in:
@@ -108,7 +108,7 @@ QMimeData * ObjectBrowserProxyModel::mimeData(const QModelIndexList & indexes) c
|
||||
if(!index.isValid())
|
||||
return nullptr;
|
||||
|
||||
auto text = standardModel->itemFromIndex(mapToSource(index))->data().toJsonObject();
|
||||
auto text = standardModel->itemFromIndex(mapToSource(index))->data();
|
||||
stream << text;
|
||||
|
||||
QMimeData * mimeData = new QMimeData;
|
||||
|
||||
Reference in New Issue
Block a user