VirtualBox

Ignore:
Timestamp:
Apr 22, 2010 1:20:10 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
60437
Message:

FE/Qt: use the pdf manual only on X11 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

    r28541 r28593  
    34063406    const QString suffix = "pdf";
    34073407#elif defined (Q_WS_X11)
    3408 # if defined VBOX_OSE
    34093408    const QString name = "UserManual";
    34103409    const QString suffix = "pdf";
    3411 # else
    3412     const QString name = "VirtualBox";
    3413     const QString suffix = "chm";
    3414 # endif
    34153410#endif
    34163411    /* Where are the docs located? */
  • trunk/src/VBox/Frontends/VirtualBox/src/globals/VBoxProblemReporter.cpp

    r27881 r28593  
    26092609#if defined (Q_WS_WIN32)
    26102610    HtmlHelp(GetDesktopWindow(), strLocation.utf16(), HH_DISPLAY_TOPIC, NULL);
    2611 #elif defined (Q_WS_X11)
    2612 # ifndef VBOX_OSE
    2613     char szViewerPath[RTPATH_MAX];
    2614     int rc;
    2615     rc = RTPathAppPrivateArch(szViewerPath, sizeof(szViewerPath));
    2616     AssertRC(rc);
    2617     QProcess::startDetached(QString(szViewerPath) + "/kchmviewer", QStringList(strLocation));
    2618 # else /* #ifndef VBOX_OSE */
    2619     vboxGlobal().openURL("file://" + strLocation);
    2620 # endif /* #ifdef VBOX_OSE */
    2621 #elif defined (Q_WS_MAC)
     2611#elif defined (Q_WS_X11) || defined (Q_WS_MAC)
    26222612    vboxGlobal().openURL("file://" + strLocation);
    26232613#endif
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette