Folder: fix compilation after merge

This commit is contained in:
Olivier Goffart 2015-05-12 15:27:20 +02:00
parent 716b0c68da
commit 1136b969b2

View file

@ -184,7 +184,7 @@ QString Folder::path() const
QString Folder::cleanPath()
{
QString cleanedPath = QDir::cleanPath(_path);
QString cleanedPath = QDir::cleanPath(_definition.localPath);
if(cleanedPath.length() == 3 && cleanedPath.endsWith(":/"))
cleanedPath.remove(2,1);