Changeset 28810 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- Apr 27, 2010 11:56:37 AM (15 years ago)
- 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 3402 3402 const QString suffix = "pdf"; 3403 3403 #elif defined (Q_WS_X11) 3404 # if defined VBOX_OSE 3404 3405 const QString name = "UserManual"; 3405 3406 const QString suffix = "pdf"; 3407 # else 3408 const QString name = "VirtualBox"; 3409 const QString suffix = "chm"; 3410 # endif 3406 3411 #endif 3407 3412 /* Where are the docs located? */ -
trunk/src/VBox/Frontends/VirtualBox/src/globals/VBoxProblemReporter.cpp
r28800 r28810 2605 2605 #if defined (Q_WS_WIN32) 2606 2606 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) 2608 2618 vboxGlobal().openURL("file://" + strLocation); 2609 2619 #endif
Note:
See TracChangeset
for help on using the changeset viewer.