Minor bug fix dealing with paths

This commit is contained in:
Juan Carlos Cornejo 2011-11-13 16:25:42 -05:00 committed by Klaas Freitag
parent f481c02876
commit 535aa119f7

View file

@ -1112,7 +1112,7 @@ void OwnCloudSync::localFileChanged(QString name)
void OwnCloudSync::scanLocalDirectoryForNewFiles(QString path)
{
QString remote;
path = path=="/"?"":path;
//path = path=="/"?"":path;
if(mRemoteDirectory != "/") {
remote = mRemoteDirectory+"/";
}