VirtualBox

Changeset 55739 in vbox


Ignore:
Timestamp:
May 7, 2015 6:52:19 PM (10 years ago)
Author:
vboxsync
Message:

FE/Qt: update check: make the regexp for sanitizing the version number accept RC/BETA builds

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/net/UIUpdateManager.cpp

    r52730 r55739  
    210210
    211211        /* Newer version of necessary package found: */
    212         if (strResponseData.indexOf(QRegExp("^\\d+\\.\\d+\\.\\d+ \\S+$")) == 0)
     212        if (strResponseData.indexOf(QRegExp("^\\d+\\.\\d+\\.\\d+(_[0-9A-Z]+)? \\S+$")) == 0)
    213213        {
    214214            QStringList response = strResponseData.split(" ", QString::SkipEmptyParts);
Note: See TracChangeset for help on using the changeset viewer.

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