@@ -2319,7 +2319,7 @@ static void loadBrowseDataTableSettings(BrowseDataTableSettings& settings, QXmlS
|
2319 | 2319 | } else if(xml.name() == "filter_values") { |
2320 | 2320 | while(xml.readNext() != QXmlStreamReader::EndElement && xml.name() != "filter_values") { |
2321 | 2321 | if (xml.name() == "column") { |
2322 | | -int index = xml.attributes().value("index").toInt(); |
| 2322 | +size_t index = xml.attributes().value("index").toUInt(); |
2323 | 2323 | settings.filterValues[index] = xml.attributes().value("value").toString(); |
2324 | 2324 | xml.skipCurrentElement(); |
2325 | 2325 | } |
@@ -2331,7 +2331,7 @@ static void loadBrowseDataTableSettings(BrowseDataTableSettings& settings, QXmlS
|
2331 | 2331 | } else if(xml.name() == "display_formats") { |
2332 | 2332 | while(xml.readNext() != QXmlStreamReader::EndElement && xml.name() != "display_formats") { |
2333 | 2333 | if (xml.name() == "column") { |
2334 | | -int index = xml.attributes().value("index").toInt(); |
| 2334 | +size_t index = xml.attributes().value("index").toUInt(); |
2335 | 2335 | settings.displayFormats[index] = xml.attributes().value("value").toString(); |
2336 | 2336 | xml.skipCurrentElement(); |
2337 | 2337 | } |
|