VirtualBox

Changeset 49989 in vbox


Ignore:
Timestamp:
Dec 19, 2013 4:06:21 PM (11 years ago)
Author:
vboxsync
Message:

FE/Qt: warn if the user enables VRDE but has no extpack installed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsDisplay.cpp

    r48576 r49989  
    3030/* COM includes: */
    3131#include "CVRDEServer.h"
     32#include "CExtPackManager.h"
     33#include "CExtPack.h"
    3234
    3335UIMachineSettingsDisplay::UIMachineSettingsDisplay()
     
    389391        message.first = VBoxGlobal::removeAccelMark(m_pTabWidget->tabText(1));
    390392
     393#ifdef VBOX_WITH_EXTPACK
     394        CExtPack extPack = vboxGlobal().virtualBox().GetExtensionPackManager().Find(GUI_ExtPackName);
     395        if (m_pCheckboxRemoteDisplay->isChecked() && (extPack.isNull() || !extPack.GetUsable()))
     396        {
     397            message.second << tr("Remote Display is currently enabled for this virtual machine. "
     398                                 "However, this requires the <b>%1</b> to be installed. "
     399                                 "Please install the Extension Pack from the VirtualBox download site as "
     400                                 "otherwise your VM will be started with Remote Display disabled.")
     401                                .arg(GUI_ExtPackName);
     402        }
     403#endif
     404
    391405        /* Check VRDE server port: */
    392406        if (m_pEditorRemoteDisplayPort->text().trimmed().isEmpty())
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