VirtualBox

Changeset 4484 in vbox


Ignore:
Timestamp:
Sep 3, 2007 8:48:37 AM (17 years ago)
Author:
vboxsync
Message:

ported 24084 to HEAD, please do this properly

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/ui/VBoxGlobalSettingsDlg.ui.h

    r4364 r4484  
    2626*****************************************************************************/
    2727
     28#include <iprt/param.h>
     29#include <iprt/path.h>
    2830
    2931/* defined in VBoxGlobal.cpp */
     
    393395    lvLanguages->header()->hide();
    394396    lvLanguages->setSorting (0);
    395     QString nlsPath = qApp->applicationDirPath() + gVBoxLangSubDir;
     397
     398    char szNlsPath[RTPATH_MAX];
     399    int rc = RTPathAppPrivateNoArch(szNlsPath, sizeof(szNlsPath));
     400    Assert(RT_SUCCESS(rc));
     401    QString nlsPath = QString(szNlsPath) + gVBoxLangSubDir;
    396402    QDir nlsDir (nlsPath);
    397403    QStringList files = nlsDir.entryList (QString ("%1*%2")
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