Changeset 5107 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- Sep 28, 2007 7:02:15 PM (17 years ago)
- svn:sync-xref-src-repo-rev:
- 24951
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/VBoxGlobal.cpp
r5094 r5107 74 74 #include <iprt/param.h> 75 75 #include <iprt/path.h> 76 #include <iprt/env.h> 76 77 77 78 #if defined (VBOX_GUI_DEBUG) … … 2805 2806 { 2806 2807 #ifdef Q_OS_UNIX 2807 const char *s = getenv("LC_ALL");2808 const char *s = RTEnvGet ("LC_ALL"); 2808 2809 if (s == 0) 2809 s = getenv("LC_MESSAGES");2810 s = RTEnvGet ("LC_MESSAGES"); 2810 2811 if (s == 0) 2811 s = getenv("LANG");2812 s = RTEnvGet ("LANG"); 2812 2813 if (s != 0) 2813 2814 return QLocale (s).name(); -
trunk/src/VBox/Frontends/VirtualBox/src/VBoxSelectorWnd.cpp
r5078 r5107 43 43 #include <qlayout.h> 44 44 #include <qvbox.h> 45 46 #ifdef Q_WS_X11 47 #include <iprt/env.h> 48 #endif 45 49 46 50 … … 864 868 /* make sure the VM process will start on the same display as the Selector */ 865 869 { 866 const char *display = getenv("DISPLAY");870 const char *display = RTEnvGet ("DISPLAY"); 867 871 if (display) 868 872 env.sprintf ("DISPLAY=%s", display);
Note:
See TracChangeset
for help on using the changeset viewer.