VirtualBox

Changeset 14386 in vbox


Ignore:
Timestamp:
Nov 20, 2008 9:00:51 AM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
39609
Message:

Fe/Qt4: Pointer check.

File:
1 edited

Legend:

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

    r14355 r14386  
    898898    AssertMsgReturnVoid (item, ("Item must be always selected here"));
    899899
    900     /* Are we called from the mVMListView's activated() signal? */
    901     if (aUuid.isNull())
    902     {
    903         /* We always get here when mVMListView emits the activated() signal,
    904          * so we must explicitly check if the action is enabled or not. */
    905         if (!vmStartAction->isEnabled())
    906             return;
    907     }
     900    /* We always get here when mVMListView emits the activated() signal,
     901     * so we must explicitly check if the action is enabled or not. */
     902   if (aUuid.isNull() && vmStartAction)  /* If Uuid is NULL, this function is called from the mVMListView activated() signal. */
     903   {
     904       if (!vmStartAction->isEnabled())
     905           return;
     906   }
    908907
    909908#if defined (VBOX_GUI_SEPARATE_VM_PROCESS)
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