Changeset 80824 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- Sep 16, 2019 1:18:44 PM (5 years ago)
- svn:sync-xref-src-repo-rev:
- 133393
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/globals/UICommon.cpp
r80498 r80824 2390 2390 2391 2391 /* Configure environment: */ 2392 Q StringstrEnv;2392 QVector<QString> astrEnv; 2393 2393 #ifdef Q_OS_WIN 2394 2394 /* Allow started VM process to be foreground window: */ … … 2399 2399 const char *pDisplay = RTEnvGet("DISPLAY"); 2400 2400 if (pDisplay) 2401 strEnv.append(QString("DISPLAY=%1\n").arg(pDisplay));2401 astrEnv.append(QString("DISPLAY=%1").arg(pDisplay)); 2402 2402 const char *pXauth = RTEnvGet("XAUTHORITY"); 2403 2403 if (pXauth) 2404 strEnv.append(QString("XAUTHORITY=%1\n").arg(pXauth));2404 astrEnv.append(QString("XAUTHORITY=%1").arg(pXauth)); 2405 2405 #endif 2406 2406 QString strType; … … 2414 2414 2415 2415 /* Prepare "VM spawning" progress: */ 2416 CProgress comProgress = comMachine.LaunchVMProcess(comSession, strType, strEnv);2416 CProgress comProgress = comMachine.LaunchVMProcess(comSession, strType, astrEnv); 2417 2417 if (!comMachine.isOk()) 2418 2418 {
Note:
See TracChangeset
for help on using the changeset viewer.