VirtualBox

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


Ignore:
Timestamp:
Mar 17, 2009 3:11:14 PM (16 years ago)
Author:
vboxsync
Message:

FE/Qt4: Show BETA warning at VM Selector startup.

Location:
trunk/src/VBox/Frontends/VirtualBox
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/include/VBoxProblemReporter.h

    r18006 r18033  
    150150
    151151    /* Special problem handlers */
     152    void showBETAWarning();
     153
    152154#ifdef Q_WS_X11
    153155    void cannotFindLicenseFiles (const QString &aPath);
  • trunk/src/VBox/Frontends/VirtualBox/src/VBoxProblemReporter.cpp

    r18006 r18033  
    458458/////////////////////////////////////////////////////////////////////////////
    459459
     460void VBoxProblemReporter::showBETAWarning()
     461{
     462    message
     463        (0, Warning,
     464         tr ("You're running a prerelease version of VirtualBox. "
     465             "This version is not designed for production use."));
     466}
     467
    460468#ifdef Q_WS_X11
    461469void VBoxProblemReporter::cannotFindLicenseFiles (const QString &aPath)
  • trunk/src/VBox/Frontends/VirtualBox/src/main.cpp

    r17959 r18033  
    414414            else
    415415            {
     416                /* Check for BETA version */
     417                QString vboxVersion (vboxGlobal().virtualBox().GetVersion());
     418                if (vboxVersion.contains ("BETA"))
     419                    vboxProblem().showBETAWarning();
     420
    416421                vboxGlobal().setMainWindow (&vboxGlobal().selectorWnd());
    417422#ifdef VBOX_GUI_WITH_SYSTRAY
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