[Pkg-owncloud-commits] [owncloud-client] 17/218: Folder: Do not create the sync folder if it does not exist #3692
Sandro Knauß
hefee-guest at moszumanska.debian.org
Sat Oct 17 14:30:32 UTC 2015
This is an automated email from the git hooks/post-receive script.
hefee-guest pushed a commit to branch master
in repository owncloud-client.
commit 1f43c47861b3b8dbdf3dd86e39abec5ae512c0e1
Author: Olivier Goffart <ogoffart at woboq.com>
Date: Fri Aug 28 14:40:45 2015 +0200
Folder: Do not create the sync folder if it does not exist #3692
---
src/gui/folder.cpp | 7 -------
1 file changed, 7 deletions(-)
diff --git a/src/gui/folder.cpp b/src/gui/folder.cpp
index 5b0f4b0..0b0ae1d 100644
--- a/src/gui/folder.cpp
+++ b/src/gui/folder.cpp
@@ -156,13 +156,6 @@ void Folder::checkLocalPath()
if( fi.isDir() && fi.isReadable() ) {
qDebug() << "Checked local path ok";
} else {
- if( !FileSystem::fileExists(_definition.localPath) ) {
- // try to create the local dir
- QDir d(_definition.localPath);
- if( d.mkpath(_definition.localPath) ) {
- qDebug() << "Successfully created the local dir " << _definition.localPath;
- }
- }
// Check directory again
if( !FileSystem::fileExists(_definition.localPath) ) {
_syncResult.setErrorString(tr("Local folder %1 does not exist.").arg(_definition.localPath));
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git
More information about the Pkg-owncloud-commits
mailing list