FolderStatusModel: Fix crash for empty relativePath (#5713)
authorckamm <mail@ckamm.de>
Thu, 20 Apr 2017 07:16:55 +0000 (09:16 +0200)
committerMarkus Goetz <markus@woboq.com>
Thu, 20 Apr 2017 07:16:55 +0000 (09:16 +0200)
commitea378fe8374ae8c68cfcfd2043d504a7a0e3c592
tree6a5555bddab99502c1d1fb7ac33d6894e82680f2
parentde9ee295be686f8272e1b89c288c596e9b86fa5c
FolderStatusModel: Fix crash for empty relativePath (#5713)

The problem was that split("", SkipEmptyParts) is the empty list.

See
https://sentry.io/owncloud/desktop-win-and-mac/issues/251167186/
src/gui/folderstatusmodel.cpp