[Pkg-owncloud-commits] [owncloud-client] 18/83: Remove useless check. QFile::exists() is CI on CI filesystems
Sandro Knauß
hefee-guest at moszumanska.debian.org
Sat May 31 11:31:39 UTC 2014
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 ed19107161c2ab027bcca89b60ebb435c053534d
Author: Daniel Molkentin <danimo at owncloud.com>
Date: Thu May 22 10:05:57 2014 +0200
Remove useless check. QFile::exists() is CI on CI filesystems
Tested on OS X and Windows
---
src/mirall/propagatorjobs.cpp | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/src/mirall/propagatorjobs.cpp b/src/mirall/propagatorjobs.cpp
index c6efed3..1019538 100644
--- a/src/mirall/propagatorjobs.cpp
+++ b/src/mirall/propagatorjobs.cpp
@@ -104,10 +104,8 @@ void PropagateLocalMkdir::start()
if (_propagator->_abortRequested.fetchAndAddRelaxed(0))
return;
- QString newDirName( _propagator->_localDir + _item._file );
- QDir newDir( newDirName );
- QString sysDirName = newDir.dirName();
- if( newDir.exists() && ! _item._file.endsWith(sysDirName, Qt::CaseSensitive)) {
+ QDir newDir( _propagator->_localDir + _item._file );
+ if(newDir.exists()) {
qDebug() << "WARN: new directory to create locally already exists!";
done( SyncFileItem::NormalError, tr("Attention, possible case sensitivity clash with %1").arg(newDirName) );
return;
--
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