VirtualBox

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


Ignore:
Timestamp:
Apr 27, 2010 11:56:37 AM (15 years ago)
Author:
vboxsync
Message:

partly reverted r60437 -- renable chm on Linux hosts

Location:
trunk/src/VBox/Frontends/VirtualBox/src/globals
Files:
2 edited

Legend:

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

    r28800 r28810  
    34023402    const QString suffix = "pdf";
    34033403#elif defined (Q_WS_X11)
     3404# if defined VBOX_OSE
    34043405    const QString name = "UserManual";
    34053406    const QString suffix = "pdf";
     3407# else
     3408    const QString name = "VirtualBox";
     3409    const QString suffix = "chm";
     3410# endif
    34063411#endif
    34073412    /* Where are the docs located? */
  • trunk/src/VBox/Frontends/VirtualBox/src/globals/VBoxProblemReporter.cpp

    r28800 r28810  
    26052605#if defined (Q_WS_WIN32)
    26062606    HtmlHelp(GetDesktopWindow(), strLocation.utf16(), HH_DISPLAY_TOPIC, NULL);
    2607 #elif defined (Q_WS_X11) || defined (Q_WS_MAC)
     2607#elif defined (Q_WS_X11)
     2608# ifndef VBOX_OSE
     2609    char szViewerPath[RTPATH_MAX];
     2610    int rc;
     2611    rc = RTPathAppPrivateArch(szViewerPath, sizeof(szViewerPath));
     2612    AssertRC(rc);
     2613    QProcess::startDetached(QString(szViewerPath) + "/kchmviewer", QStringList(strLocation));
     2614# else /* #ifndef VBOX_OSE */
     2615    vboxGlobal().openURL("file://" + strLocation);
     2616# endif /* #ifdef VBOX_OSE */
     2617#elif defined (Q_WS_MAC)
    26082618    vboxGlobal().openURL("file://" + strLocation);
    26092619#endif
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