VirtualBox

Changeset 2257 in vbox for trunk/src


Ignore:
Timestamp:
Apr 20, 2007 8:32:07 AM (18 years ago)
Author:
vboxsync
Message:

show pdf help file on Mac

File:
1 edited

Legend:

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

    r2240 r2257  
    934934void VBoxSelectorWnd::showHelpContents()
    935935{
     936#ifndef VBOX_OSE
    936937#if defined (Q_WS_WIN32)
    937938    QString fullHelpFilePath = qApp->applicationDirPath() + "/VirtualBox.chm";
     
    940941              HH_DISPLAY_TOPIC, NULL);
    941942#elif defined (Q_WS_X11)
    942 # ifndef VBOX_OSE
    943943    QString fullProgPath = qApp->applicationDirPath();
    944944    QProcess kchmViewer (fullProgPath + "/kchmviewer");
    945945    kchmViewer.addArgument (fullProgPath + "/VirtualBox.chm");
    946946    kchmViewer.launch ("");
    947 # endif
     947#elif defined (Q_WS_MAC)
     948    QProcess openApp (QString("/usr/bin/open"));
     949    openApp.addArgument (qApp->applicationDirPath() + "/UserManual.pdf");
     950    openApp.launch ("");
    948951#endif
     952#endif /* VBOX_OSE */
    949953}
    950954
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