- Timestamp:
- Dec 4, 2023 3:51:07 PM (18 months ago)
- svn:sync-xref-src-repo-rev:
- 160597
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/medium/viso/UIVisoContentBrowser.cpp
r102446 r102454 856 856 foreach (const QString &strPart, list) 857 857 { 858 QStringList fileEntry; 859 #if QT_VERSION >= QT_VERSION_CHECK(5, 14, 0) 860 fileEntry = strPart.split("=", Qt::SkipEmptyParts); 861 #else 862 fileEntry = strPart.split("=", QString::SkipEmptyParts); 863 #endif 858 864 /* We currently do not support different on-ISO names for different namespaces. */ 859 865 if (strPart.startsWith("/") && strPart.count('=') <= 1) 860 866 { 861 QStringList fileEntry;862 #if QT_VERSION >= QT_VERSION_CHECK(5, 14, 0)863 fileEntry = strPart.split("=", Qt::SkipEmptyParts);864 #else865 fileEntry = strPart.split("=", QString::SkipEmptyParts);866 #endif867 867 if (fileEntry.size() == 1) 868 868 { … … 880 880 else if (fileEntry[1] == cRemoveText) 881 881 removedEntries.append(fileEntry[0]); 882 883 } 884 } 885 else 886 { 887 if(fileEntry.size() == 2 && fileEntry[0].contains("import-iso", Qt::CaseInsensitive)) 888 { 889 if (QFileInfo(fileEntry[1]).exists()) 890 importISOContentToViso(fileEntry[1]); 882 891 } 883 892 }
Note:
See TracChangeset
for help on using the changeset viewer.