Linux compilation fix

This commit is contained in:
Jakub Melka
2022-07-23 10:25:13 +02:00
parent 86a2b23a14
commit eb17cdbed1
2 changed files with 2 additions and 2 deletions

View File

@ -184,7 +184,7 @@ void PDFPageContentEditorWidget::updateItemsInListWidget()
Q_ASSERT(element);
QListWidgetItem* item = new QListWidgetItem(element->getDescription());
item->setData(Qt::UserRole, elementId);
item->setData(Qt::UserRole, int(elementId));
ui->itemsListWidget->addItem(item);
}