- Timestamp:
- Aug 6, 2007 5:27:55 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/VBoxConsoleWnd.cpp
r4043 r4046 2305 2305 /* Check for the already registered required image: */ 2306 2306 CVirtualBox vbox = vboxGlobal().virtualBox(); 2307 QString iName = QString ("VBoxGuestAdditions_%1.iso")2307 QString name = QString ("VBoxGuestAdditions_%1.iso") 2308 2308 .arg (vbox.GetVersion()); 2309 2309 CDVDImageEnumerator en = vbox.GetDVDImages().Enumerate(); … … 2311 2311 { 2312 2312 QString path = en.GetNext().GetFilePath(); 2313 if (path.find (iName) != -1 && QFile::exists (path)) 2313 /* compare the name part ignoring the file case*/ 2314 QString fn = QFileInfo (path).fileName(); 2315 if (RTPathCompare (name.utf8(), fn.utf8()) == 0) 2314 2316 return installGuestAdditionsFrom (path); 2315 2317 } … … 2320 2322 { 2321 2323 QString url = QString ("http://www.virtualbox.org/download/%1/") 2322 .arg (vbox.GetVersion()) + iName;2324 .arg (vbox.GetVersion()) + name; 2323 2325 QString target = QDir (vboxGlobal().virtualBox().GetHomeFolder()) 2324 .absFilePath ( iName);2326 .absFilePath (name); 2325 2327 2326 2328 new VBoxDownloaderWgt (statusBar(), devicesInstallGuestToolsAction,
Note:
See TracChangeset
for help on using the changeset viewer.