VirtualBox

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


Ignore:
Timestamp:
Nov 25, 2008 5:51:45 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
39885
Message:

Fe/Qt4: Systray: Fixed assertions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox4/src/VBoxGlobal.cpp

    r14578 r14585  
    13461346VBoxSelectorWnd &VBoxGlobal::selectorWnd()
    13471347{
    1348 #if defined (VBOX_GUI_SEPARATE_VM_PROCESS)
    1349     AssertMsg (!vboxGlobal().isVMConsoleProcess(),
    1350                ("Must NOT be a VM console process"));
    1351 #endif
    1352 
    13531348    Assert (mValid);
    13541349
     
    14201415        return false;
    14211416
    1422     AssertMsg (vboxGlobal().mainWindow(),
    1423                ("Main window must not be null for systray!"));
     1417    AssertMsg (&vboxGlobal().selectorWnd(),
     1418               ("Selector window must not be null for systray!"));
    14241419
    14251420    mVBox.SetExtraData (VBoxDefs::GUI_TrayIconWinID,
    1426                         QString ("%1").arg ((qulonglong) vboxGlobal().mainWindow()->winId()));
     1421                        QString ("%1").arg ((qulonglong) vboxGlobal().selectorWnd().winId()));
    14271422
    14281423    /* The first process which can grab this "mutex" will win ->
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette