0
0
mirror of https://github.com/fralx/LimeReport.git synced 2025-10-05 12:18:08 +03:00

Fixed build issues

Fixed build with cmake when including limereport as a submodule with add_subdirectory(...)
Removed unnecessary checks of ENABLE DIALOG DESIGNER in CMakeLists.txt
Fixed Qt 5.15.16 incompatibility
Added missing LIMEREPORT_EXPORT
Fixed warnings
This commit is contained in:
Константин Макаренков
2025-03-12 14:30:56 +03:00
parent 33ebdfc640
commit ebbf2b7beb
15 changed files with 62 additions and 53 deletions

View File

@@ -250,9 +250,9 @@ void XMLWriter::saveTranslation(QString propertyName, QObject* item, QDomElement
foreach (PageTranslation* page, curTranslation->pagesTranslation()) {
QDomElement pageNode = m_doc->createElement(page->pageName);
languageNode.appendChild(pageNode);
foreach (ItemTranslation* item, page->itemsTranslation) {
QDomElement itemNode = m_doc->createElement(item->itemName);
foreach (PropertyTranslation* property, item->propertyesTranslation) {
foreach (ItemTranslation* translationItem, page->itemsTranslation) {
QDomElement itemNode = m_doc->createElement(translationItem->itemName);
foreach (PropertyTranslation* property, translationItem->propertyesTranslation) {
if (property->sourceValue.compare(property->value) != 0) {
QDomElement propertyNode = m_doc->createElement(property->propertyName);
propertyNode.setAttribute("Value", property->value);