Renato,

The check in line 61 is necessary. 

The 'parentItemInfo' keeps the information from the parent, which can be: 
directory/share/host/workgroup.

When the 'mainItemInfo' is root like "smb://"  there is no 'parentItemInfo', it 
can be null.

Another reason it might be used in my regression tests (I am not sure if it 
is), you can use if you want its in 
"src/plugin/test_folderlistmodel/regression/regression_folderlilstmodel.pro"
-- 
https://code.launchpad.net/~renatofilho/ubuntu-filemanager-app/fix-network-crash/+merge/314870
Your team Ubuntu File Manager Developers is subscribed to branch 
lp:ubuntu-filemanager-app.

-- 
Mailing list: https://launchpad.net/~ubuntu-touch-coreapps-reviewers
Post to     : ubuntu-touch-coreapps-reviewers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-touch-coreapps-reviewers
More help   : https://help.launchpad.net/ListHelp

Reply via email to