Changeset 70724 in vbox
- Timestamp:
- Jan 24, 2018 12:05:23 PM (7 years ago)
- svn:sync-xref-src-repo-rev:
- 120469
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/net/UIDownloaderAdditions.cpp
r70723 r70724 61 61 m_spInstance = this; 62 62 63 /* Get version number and adjust it for test and trunk builds, both have64 odd build numbers.The server only has official releases. */63 /* Get version number and adjust it for test and trunk builds, 64 * both have odd build numbers. The server only has official releases. */ 65 65 QString strVersion = vboxGlobal().vboxVersionStringNormalized(); 66 QChar qchLastDigit = strVersion[strVersion.length() - 1];66 const QChar qchLastDigit = strVersion[strVersion.length() - 1]; 67 67 if ( qchLastDigit == '1' 68 68 || qchLastDigit == '3' … … 79 79 { 80 80 strVersion.chop(2); 81 strVersion += " 10"; /* Current for 5.0.x */81 strVersion += "6"; /* Current for 5.2.x */ 82 82 } 83 83 } … … 85 85 /* Prepare source/target: */ 86 86 const QString strSourceName = QString("%1_%2.iso").arg(GUI_GuestAdditionsName, strVersion); 87 const QString strSource Folder = QString("http://download.virtualbox.org/virtualbox/%1/").arg(strVersion);88 const QString strSource = strSource Folder+ strSourceName;87 const QString strSourcePath = QString("https://download.virtualbox.org/virtualbox/%1/").arg(strVersion); 88 const QString strSource = strSourcePath + strSourceName; 89 89 const QString strPathSHA256SumsFile = QString("https://www.virtualbox.org/download/hashes/%1/SHA256SUMS").arg(strVersion); 90 90 const QString strTarget = QDir(vboxGlobal().homeFolder()).absoluteFilePath(strSourceName);
Note:
See TracChangeset
for help on using the changeset viewer.