VirtualBox

Changeset 89965 in vbox


Ignore:
Timestamp:
Jun 30, 2021 8:22:45 AM (3 years ago)
Author:
vboxsync
Message:

FE/Qt: Making help keyword value depend on the host platform

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/globals/UIMessageCenter.cpp

    r89959 r89965  
    631631void UIMessageCenter::cannotEnumerateHostUSBDevices(const CHost &comHost, QWidget *pParent  /* = 0 */) const
    632632{
     633    QString strHelpKeyword;
     634    /* Refer users to manual's trouble shooting section depending on the host platform: */
     635#if defined(RT_OS_LINUX)
     636    strHelpKeyword = "ts_usb-linux";
     637#elif defined(RT_OS_WINDOWS)
     638    strHelpKeyword = "ts_win-guests";
     639#elif defined(RT_OS_SOLARIS)
     640    strHelpKeyword = "ts_sol-guests";
     641#elif defined(RT_OS_DARWIN)
     642#endif
    633643    error(pParent, MessageType_Warning,
    634644          tr("Failed to enumerate host USB devices."),
    635645          UIErrorString::formatErrorInfo(comHost), "USBEnumerationWarning",
    636           "install-linux-vboxusers" /* help keyword */);
     646          strHelpKeyword);
    637647}
    638648
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