Changeset 77163 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- Feb 5, 2019 1:15:00 PM (6 years ago)
- svn:sync-xref-src-repo-rev:
- 128638
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/globals/VBoxGlobal.cpp
r77001 r77163 2648 2648 QStringList files = pVisoCreator->entryList(); 2649 2649 QString strVisoName = pVisoCreator->visoName(); 2650 if (strVisoName.isEmpty()) 2651 strVisoName = "ad-hoc"; 2650 2652 2651 2653 if (files.empty() || files[0].isEmpty()) … … 2656 2658 /* Produce the VISO. */ 2657 2659 char szVisoPath[RTPATH_MAX]; 2658 int vrc = RTPathJoin(szVisoPath, sizeof(szVisoPath), strFolder.toUtf8().constData(), "ad-hoc.viso"); 2660 QString strFileName = QString("%1%2").arg(strVisoName).arg(".viso"); 2661 int vrc = RTPathJoin(szVisoPath, sizeof(szVisoPath), strFolder.toUtf8().constData(), strFileName.toUtf8().constData()); 2659 2662 if (RT_SUCCESS(vrc)) 2660 2663 { … … 2668 2671 { 2669 2672 RTStrmPrintf(pStrmViso, "--iprt-iso-maker-file-marker-bourne-sh %RTuuid\n", &Uuid); 2670 if (!strVisoName.isEmpty()) 2671 RTStrmPrintf(pStrmViso, "--volume-id=%s\n", strVisoName.toUtf8().constData()); 2673 RTStrmPrintf(pStrmViso, "--volume-id=%s\n", strVisoName.toUtf8().constData()); 2672 2674 2673 2675 for (int iFile = 0; iFile < files.size(); iFile++)
Note:
See TracChangeset
for help on using the changeset viewer.