VirtualBox

Changeset 27131 in vbox for trunk/src/VBox/Frontends


Ignore:
Timestamp:
Mar 6, 2010 1:32:31 PM (15 years ago)
Author:
vboxsync
Message:

FE/Qt4: new core: second attempt to fix the mainWindow issue

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

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/VBoxConsoleWnd.cpp

    r27096 r27131  
    356356    if (aSelf)
    357357        *aSelf = this;
     358
     359    vboxGlobal().setMainWindow (this);
    358360
    359361    /* Cache IMedium data! */
  • trunk/src/VBox/Frontends/VirtualBox/src/main.cpp

    r27130 r27131  
    499499                }
    500500#endif
    501                 vboxGlobal().setMainWindow (vboxGlobal().vmWindow());
    502501                if (vboxGlobal().startMachine (vboxGlobal().managedVMUuid()))
     502                {
     503                    vboxGlobal().setMainWindow (vboxGlobal().vmWindow());
    503504                    rc = a.exec();
     505                }
    504506            }
    505507            else if (noSelector)
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