VirtualBox

Changeset 75572 in vbox for trunk/src/VBox/Frontends


Ignore:
Timestamp:
Nov 19, 2018 12:27:02 PM (6 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:9104: UIUpdateManager: Use UIVersion stuff to compare ext-pack and vbox versions.

File:
1 edited

Legend:

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

    r72435 r75572  
    427427    /* Get extension pack version: */
    428428    QString strExtPackVersion(extPack.GetVersion());
    429     QByteArray abExtPackVersion = strExtPackVersion.toUtf8();
    430429
    431430    /* If this version being developed: */
     
    446445    const QString strVBoxVersion = vboxVersion.toString();
    447446
    448     /* Skip the check if the extension pack is equal to or newer than VBox.
    449      * Note! Use RTStrVersionCompare for the comparison here as it takes the
    450      *       beta/alpha/preview/whatever tags into consideration when comparing versions. */
    451     if (RTStrVersionCompare(abExtPackVersion.constData(), strVBoxVersion.toUtf8().constData()) >= 0)
     447    /* Skip the check if the extension pack is equal to or newer than VBox. */
     448    if (UIVersion(strExtPackVersion) >= vboxVersion)
    452449    {
    453450        emit sigStepComplete();
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