mirror of
				https://github.com/JakubMelka/PDF4QT.git
				synced 2025-06-05 21:59:17 +02:00 
			
		
		
		
	Linux compilation fix
This commit is contained in:
		| @@ -907,7 +907,7 @@ void PDFPageContentStreamBuilder::replaceResources(PDFObjectReference contentStr | |||||||
|                         { |                         { | ||||||
|                             // Jakub Melka: we must rename the item |                             // Jakub Melka: we must rename the item | ||||||
|                             QByteArray newSubkeyString = subkeyString; |                             QByteArray newSubkeyString = subkeyString; | ||||||
|                             PDFInteger k = 0; |                             int k = 0; | ||||||
|                             while (oldSd->hasKey(newSubkeyString)) |                             while (oldSd->hasKey(newSubkeyString)) | ||||||
|                             { |                             { | ||||||
|                                 newSubkeyString = subkeyString + "_" + QByteArray::number(++k); |                                 newSubkeyString = subkeyString + "_" + QByteArray::number(++k); | ||||||
|   | |||||||
| @@ -184,7 +184,7 @@ void PDFPageContentEditorWidget::updateItemsInListWidget() | |||||||
|             Q_ASSERT(element); |             Q_ASSERT(element); | ||||||
|  |  | ||||||
|             QListWidgetItem* item = new QListWidgetItem(element->getDescription()); |             QListWidgetItem* item = new QListWidgetItem(element->getDescription()); | ||||||
|             item->setData(Qt::UserRole, elementId); |             item->setData(Qt::UserRole, int(elementId)); | ||||||
|  |  | ||||||
|             ui->itemsListWidget->addItem(item); |             ui->itemsListWidget->addItem(item); | ||||||
|         } |         } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user