VirtualBox

Changeset 68041 in vbox


Ignore:
Timestamp:
Jul 18, 2017 6:22:03 PM (8 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
117064
Message:

FE/Qt: Download Manager: A bit of wrong code committed with r117063.

File:
1 edited

Legend:

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

    r68040 r68041  
    379379        QByteArray abVBoxVersion = strVBoxVersion.toUtf8();
    380380        VBoxVersion vboxVersion(strVBoxVersion);
    381         strVBoxVersion = "5.1.24";
    382         printf("strVBoxVersion = %s\n", strVBoxVersion.toUtf8().constData());
    383381
    384382        /* Get extension pack version: */
     
    392390                 the beta/alpha/preview/whatever tags into consideration when
    393391                 comparing versions. */
    394 //        if (   vboxVersion.z() % 2 != 0
    395 //            || RTStrVersionCompare(abExtPackVersion.constData(), abVBoxVersion.constData()) >= 0)
    396 //        {
    397 //            emit sigStepComplete();
    398 //            return;
    399 //        }
     392        if (   vboxVersion.z() % 2 != 0
     393            || RTStrVersionCompare(abExtPackVersion.constData(), abVBoxVersion.constData()) >= 0)
     394        {
     395            emit sigStepComplete();
     396            return;
     397        }
    400398
    401399        QString strExtPackEdition(extPack.GetEdition());
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