Changeset 14629 in vbox
- Timestamp:
- Nov 26, 2008 10:33:11 AM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 39932
- Location:
- trunk/src/VBox/Frontends/VirtualBox4/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox4/src/VBoxGlobal.cpp
r14593 r14629 941 941 void postEvent (QEvent *e) 942 942 { 943 // currently, we don't post events if we are in the VM execution 944 // console mode, to save some CPU ticks (so far, there was no need 945 // to handle VirtualBox callback events in the execution console mode) 946 943 #ifndef VBOX_GUI_WITH_SYSTRAY 944 // If not using a systray menu, we don't post events if we are in the VM 945 // execution console mode, to save some CPU ticks (so far, there was no 946 // need to handle VirtualBox callback events in the execution console 947 // mode 947 948 if (!mGlobal.isVMConsoleProcess()) 949 #endif 948 950 QApplication::postEvent (&mGlobal, e); 949 951 } -
trunk/src/VBox/Frontends/VirtualBox4/src/VBoxSelectorWnd.cpp
r14586 r14629 1681 1681 { 1682 1682 /* Erase dialog handle in config file. */ 1683 if ( vboxGlobal().isTrayIcon())1683 if (mActive) 1684 1684 { 1685 1685 vboxGlobal().virtualBox().SetExtraData (VBoxDefs::GUI_TrayIconWinID, -
trunk/src/VBox/Frontends/VirtualBox4/src/main.cpp
r14584 r14629 364 364 /* Keep selector window in memory (hidden) because we need it for 365 365 * the systray menu. */ 366 vboxGlobal().startEnumeratingMedia(); 366 367 vboxGlobal().selectorWnd(); 368 vboxGlobal().setMainWindow (&vboxGlobal().consoleWnd()); 367 369 if ( vboxGlobal().trayIconInstall() 368 370 && vboxGlobal().isTrayIcon()) … … 370 372 /* Nothing to do here yet. */ 371 373 } 372 #e ndif374 #else 373 375 vboxGlobal().setMainWindow (&vboxGlobal().consoleWnd()); 376 #endif 374 377 if (vboxGlobal().startMachine (vboxGlobal().managedVMUuid())) 375 378 rc = a.exec();
Note:
See TracChangeset
for help on using the changeset viewer.