VirtualBox

Ignore:
Timestamp:
Feb 20, 2007 12:40:20 PM (18 years ago)
Author:
vboxsync
Message:

FE/Qt: Removed unnecessary iprt dependencies.

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

Legend:

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

    r989 r1000  
    3434
    3535#include <qvaluelist.h>
    36 
    37 #include <iprt/param.h>
    38 #include <iprt/err.h>
    39 #include <iprt/path.h>
    40 #include <iprt/process.h>
    41 #include <iprt/thread.h>
    4236
    4337class VBoxVMListBox;
  • trunk/src/VBox/Frontends/VirtualBox/src/VBoxSelectorWnd.cpp

    r999 r1000  
    757757#elif defined (Q_WS_X11)
    758758# ifndef VBOX_OSE
    759     char szPathProg[RTPATH_MAX];
    760     if (RTPathProgram(szPathProg, sizeof(szPathProg)) == VINF_SUCCESS)
    761     {
    762         QString kchmViewerName(QString (szPathProg) + "/kchmviewer");
    763         QString kchmViewerArg (QString (szPathProg) + "/VirtualBox.chm");
    764         QProcess kchmViewer(kchmViewerName);
    765         kchmViewer.addArgument(kchmViewerArg);
    766         kchmViewer.launch("");
    767     }
     759    QString fullProgPath = qApp->applicationDirPath();
     760    QProcess kchmViewer (fullProgPath + "/kchmviewer");
     761    kchmViewer.addArgument (fullProgPath + "/VirtualBox.chm");
     762    kchmViewer.launch ("");
    768763# endif
    769764#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