VirtualBox

Changeset 29803 in vbox


Ignore:
Timestamp:
May 26, 2010 9:36:14 AM (15 years ago)
Author:
vboxsync
Message:

FE/Qt4: more cleanup (this is used since ages ago)

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

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/Makefile.kmk

    r29796 r29803  
    100100endif
    101101
    102 VirtualBox_DEFS           = VBOX_GUI_SEPARATE_VM_PROCESS
     102VirtualBox_DEFS           =
    103103VirtualBox_DEFS.debug     = VBOX_CHECK_STATE # QT_FATAL_ASSERT
    104104VirtualBox_DEFS.darwin    = VBOX_GUI_USE_QUARTZ2D VBOX_GUI_USE_QIMAGE VBOX_WITHOUT_QHTTP
     
    721721                '-DGC_ARCH_BITS=64' \
    722722                '-DVBOX_WITH_XPCOM' \
    723                 '-DVBOX_GUI_SEPARATE_VM_PROCESS' \
    724723                '-DVBOX_WITH_REGISTRATION' \
    725724                '-DVBOX_WITH_REGISTRATION_REQUEST' \
  • trunk/src/VBox/Frontends/VirtualBox/src/VBoxSelectorWnd.cpp

    r29794 r29803  
    984984    }
    985985
    986 #if defined (VBOX_GUI_SEPARATE_VM_PROCESS)
    987 
    988986    AssertMsg (!vboxGlobal().isVMConsoleProcess(),
    989987               ("Must NOT be a VM console process"));
     
    10441042
    10451043    session.Close();
    1046 
    1047 #else // !VBOX_GUI_SEPARATE_VM_PROCESS
    1048 
    1049     if (!vboxGlobal().startMachine (id))
    1050         return;
    1051 
    1052     hide();
    1053 
    1054 #endif
    10551044}
    10561045
  • trunk/src/VBox/Frontends/VirtualBox/src/globals/VBoxGlobal.cpp

    r29794 r29803  
    727727VBoxSelectorWnd &VBoxGlobal::selectorWnd()
    728728{
    729 #if defined (VBOX_GUI_SEPARATE_VM_PROCESS)
    730729    AssertMsg (!vboxGlobal().isVMConsoleProcess(),
    731730               ("Must NOT be a VM console process"));
    732 #endif
    733 
    734731    Assert (mValid);
    735732
  • trunk/src/VBox/Frontends/VirtualBox/src/globals/VBoxProblemReporter.cpp

    r29795 r29803  
    286286        return 0;
    287287
    288 #if defined (VBOX_GUI_SEPARATE_VM_PROCESS)
    289288    if (vboxGlobal().isVMConsoleProcess())
    290289    {
     
    297296            return &vboxGlobal().selectorWnd(); /* return that window */
    298297    }
    299 #else
    300     if (vboxGlobal().vmWindow() && vboxGlobal().vmWindow().isVisible()) /* VM window is visible */
    301         return &vboxGlobal().vmWindow(); /* return that window */
    302     if (vboxGlobal().selectorWnd().isVisible()) /* VM selector is visible */
    303         return &vboxGlobal().selectorWnd(); /* return that window */
    304 #endif
    305298
    306299    return 0;
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