mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-27 17:37:36 +03:00
Fixed a small bug that prevented creating the properly named local
directory.
This commit is contained in:
parent
a0b3249419
commit
f481c02876
1 changed files with 4 additions and 2 deletions
|
@ -698,8 +698,10 @@ void OwnCloudSync::syncFiles()
|
||||||
// Make local dirs
|
// Make local dirs
|
||||||
for(int i = 0; i < localDirs.size(); i++ ) {
|
for(int i = 0; i < localDirs.size(); i++ ) {
|
||||||
QDir dir;
|
QDir dir;
|
||||||
if (!dir.mkdir(mLocalDirectory+localDirs[i]) ) {
|
if (!dir.mkdir(mLocalDirectory+
|
||||||
qDebug() << "Could not make directory "+mLocalDirectory+localDirs[i];
|
stringRemoveBasePath(localDirs[i],mRemoteDirectory)) ) {
|
||||||
|
qDebug() << "Could not make directory "+mLocalDirectory+
|
||||||
|
stringRemoveBasePath(localDirs[i],mRemoteDirectory);
|
||||||
} else {
|
} else {
|
||||||
emit toLog(tr("Created local directory: %1").arg(localDirs[i]));
|
emit toLog(tr("Created local directory: %1").arg(localDirs[i]));
|
||||||
//qDebug() << "Made directory "+mLocalDirectory+localDirs[i];
|
//qDebug() << "Made directory "+mLocalDirectory+localDirs[i];
|
||||||
|
|
Loading…
Reference in a new issue