Sanity checks that fix crash (fdo#36495)
This commit is contained in:
parent
98ab849dfe
commit
c6e5c7ce9b
1 changed files with 5 additions and 1 deletions
|
@ -1263,11 +1263,15 @@ IMPL_LINK(UpdateDialog, selectionHandler, void *, EMPTYARG)
|
|||
}
|
||||
case DISABLED_UPDATE:
|
||||
{
|
||||
bInserted = showDescription( m_disabledUpdates[pos].aUpdateInfo );
|
||||
if ( !m_disabledUpdates.empty() )
|
||||
bInserted = showDescription( m_disabledUpdates[pos].aUpdateInfo );
|
||||
|
||||
if ( p->m_bIgnored )
|
||||
b.append( m_ignoredUpdate );
|
||||
|
||||
if ( m_disabledUpdates.empty() )
|
||||
break;
|
||||
|
||||
UpdateDialog::DisabledUpdate & data = m_disabledUpdates[ pos ];
|
||||
if (data.unsatisfiedDependencies.getLength() != 0)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue