VirtualBox

Changeset 24168 in vbox


Ignore:
Timestamp:
Oct 29, 2009 4:22:33 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
54107
Message:

FE/Qt4: Fixing assert for r54106.

File:
1 edited

Legend:

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

    r24167 r24168  
    22162216                    QAction *mountMediumAction = new QAction (VBoxMedium (medium, mediumType).name(), attachmentMenu);
    22172217                    mountMediumAction->setCheckable (true);
    2218                     mountMediumAction->setChecked (medium.GetId() == attachment.GetMedium().GetId());
     2218                    mountMediumAction->setChecked (!attachment.GetMedium().isNull() &&
     2219                                                   medium.GetId() == attachment.GetMedium().GetId());
    22192220                    mountMediumAction->setData (QVariant::fromValue (MountTarget (attachment.GetController().GetName(),
    22202221                                                                                  attachment.GetPort(),
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