VirtualBox

Changeset 86817 in vbox for trunk


Ignore:
Timestamp:
Nov 6, 2020 7:04:51 AM (4 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:9831. Restoring pdf/chm options for x11

File:
1 edited

Legend:

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

    r86776 r86817  
    32043204    HtmlHelp(GetDesktopWindow(), strLocation.utf16(), HH_DISPLAY_TOPIC, NULL);
    32053205#elif defined (VBOX_WS_X11)
    3206  #if defined(VBOX_WITH_DOCS_QHELP)
     3206# if defined(VBOX_WITH_DOCS_QHELP) && (QT_VERSION >= QT_VERSION_CHECK(5, 9, 0))
    32073207    showHelpBrowser(strLocation);
    3208 # endif /* #if defined(VBOX_WITH_DOCS_QHELP) */
     3208# endif /* #if defined(VBOX_WITH_DOCS_QHELP) && (QT_VERSION >= QT_VERSION_CHECK(5, 9, 0))&& (QT_VERSION >= QT_VERSION_CHECK(5, 9, 0)) */
     3209# ifndef VBOX_OSE
     3210    char szViewerPath[RTPATH_MAX];
     3211    int rc;
     3212    rc = RTPathAppPrivateArch(szViewerPath, sizeof(szViewerPath));
     3213    AssertRC(rc);
     3214    QProcess::startDetached(QString(szViewerPath) + "/kchmviewer", QStringList(strLocation));
     3215# else /* #ifndef VBOX_OSE */
     3216    vboxGlobal().openURL("file://" + strLocation);
     3217# endif /* #ifdef VBOX_OSE */
    32093218#elif defined (VBOX_WS_MAC)
    32103219    uiCommon().openURL("file://" + strLocation);
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