You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (selectedFilter == tr("XML files version 1 (*.xml)")) {
1170
-
QMessageBox msgBox(QMessageBox::Icon::Warning, tr("Deprecated XML format"), tr("XML format 1 is deprecated and will be removed in cppcheck 1.81."), QMessageBox::StandardButton::Ok);
1171
-
msgBox.exec();
1172
-
1173
-
type = Report::XML;
1174
-
if (!selectedFile.endsWith(".xml", Qt::CaseInsensitive))
1175
-
selectedFile += ".xml";
1176
-
} elseif (selectedFilter == tr("XML files version 2 (*.xml)")) {
1169
+
if (selectedFilter == tr("XML files (*.xml)")) {
1177
1170
type = Report::XMLV2;
1178
1171
if (!selectedFile.endsWith(".xml", Qt::CaseInsensitive))
1179
1172
selectedFile += ".xml";
@@ -1187,7 +1180,7 @@ void MainWindow::save()
1187
1180
selectedFile += ".csv";
1188
1181
} else {
1189
1182
if (selectedFile.endsWith(".xml", Qt::CaseInsensitive))
0 commit comments