Kaydet (Commit) fd7e9765 authored tarafından Szymon Kłos's avatar Szymon Kłos

removed unnecessary 'if'

Change-Id: I0efe7e59a4402e856c645fbfb55c3c7696c7656e
üst ad994d00
...@@ -448,15 +448,12 @@ void RemoteFilesDialog::fillTreeEntry( SvTreeListEntry* pParent ) ...@@ -448,15 +448,12 @@ void RemoteFilesDialog::fillTreeEntry( SvTreeListEntry* pParent )
{ {
// remove childs // remove childs
if ( pParent ) SvTreeList* pModel = m_pTreeView->GetModel();
{
SvTreeList* pModel = m_pTreeView->GetModel();
if( pModel->HasChildren( pParent ) ) if( pModel->HasChildren( pParent ) )
{ {
SvTreeListEntries& rEntries = pModel->GetChildList( pParent ); SvTreeListEntries& rEntries = pModel->GetChildList( pParent );
rEntries.clear(); rEntries.clear();
}
} }
// fill with new ones // fill with new ones
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment