- Timestamp:
- Jun 18, 2020 12:22:57 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/manager/UIVirtualBoxManager.cpp
r84869 r84871 1873 1873 void UIVirtualBoxManager::startUnattendedInstall(const QUuid &uMachineUid, const QString &strISOPath, bool fStartHeadless) 1874 1874 { 1875 CVirtualBox comVBox = uiCommon().virtualBox(); 1876 CMachine comMachine = comVBox.FindMachine(uMachineUid.toString()); 1877 if (comMachine.isNull()) 1878 return; 1879 1875 1880 if (!QFileInfo(strISOPath).exists()) 1876 1881 { … … 1879 1884 } 1880 1885 1881 CVirtualBox comVBox = uiCommon().virtualBox();1882 1886 CUnattended comUnattendedInstaller = comVBox.CreateUnattendedInstaller(); 1883 1887 AssertMsgReturnVoid(!comUnattendedInstaller.isNull(), ("Could not create unattended installer!\n")); 1884 CMachine comMachine = comVBox.FindMachine(uMachineUid.toString());1885 AssertMsgReturnVoid(!comMachine.isNull(), ("Failed to find CMachine for the uuid %u!\n", uMachineUid));1886 1888 1887 1889 comUnattendedInstaller.SetIsoPath(strISOPath);
Note:
See TracChangeset
for help on using the changeset viewer.