VirtualBox

Ignore:
Timestamp:
Sep 13, 2019 6:41:07 PM (6 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
133353
Message:

FE/Qt: bugref:8938. Fixing some null parameter in connection error

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/manager/details/UIDetailsItem.cpp

    r80784 r80786  
    284284            this, &UIPrepareStep::sltStepDone,
    285285            Qt::QueuedConnection);
    286     connect(this, &UIPrepareStep::sigStepDone,
    287             qobject_cast<UIDetailsGroup*>(pParent), &UIDetailsGroup::sltBuildStep,
    288             Qt::QueuedConnection);
     286    if (qobject_cast<UIDetailsGroup*>(pParent))
     287        connect(this, &UIPrepareStep::sigStepDone,
     288                qobject_cast<UIDetailsGroup*>(pParent), &UIDetailsGroup::sltBuildStep,
     289                Qt::QueuedConnection);
    289290}
    290291
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