VirtualBox

Changeset 106458 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Oct 17, 2024 2:15:17 PM (5 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
165277
Message:

FE/Qt: bugref:10786 Reverting r165258.

Location:
trunk/src/VBox
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/medium/viso/UIVisoContentBrowser.cpp

    r106439 r106458  
    429429        if (iterator.value().isEmpty())
    430430            continue;
    431         QString strSource = iterator.key();
    432         strSource.replace("\"", "\\\"");
    433         QString strTarget = iterator.value();
    434         strTarget.replace("\"", "\\\"");
    435         /* We must quote %1 and %2 here, as those might contain spaces as part of a path or file name. */
    436         QString strEntry = QString("\"%1\"=\"%2\"").arg(strSource).arg(strTarget);
     431        QString strEntry = QString("%1=%2").arg(iterator.key()).arg(iterator.value());
    437432        entryList << strEntry;
    438433    }
  • trunk/src/VBox/Frontends/VirtualBox/src/medium/viso/UIVisoCreator.cpp

    r106439 r106458  
    985985        QTextStream stream(&file);
    986986        stream << QString("%1 %2").arg("--iprt-iso-maker-file-marker-bourne-sh").arg(QUuid::createUuid().toString()) << "\n";
    987         /* Note: Quote the volume ID, as we might use the VM name as a default, which in turn can contain spaces. */
    988         stream<< "--volume-id=\"" << strVisoName << "\"\n";
     987        stream<< "--volume-id=" << strVisoName << "\n";
    989988        if (!strImportedISOPath.isEmpty())
    990989            stream << "--import-iso=" << strImportedISOPath << "\n";
  • trunk/src/VBox/Main/src-server/UnattendedInstaller.cpp

    r106439 r106458  
    15061506         *        One less CDROM to mount. */
    15071507        /* Name the ISO. */
    1508         rVecArgs.append() = "--volume-id=\"VBox Unattended Boot\"";
     1508        rVecArgs.append() = "--volume-id=VBox Unattended Boot";
    15091509
    15101510        /* Copy the isolinux directory from the original install ISO. */
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette