[Pkg-owncloud-commits] [owncloud-client] 89/121: be case insensitive for MacOSX, too

Sandro Knauß hefee-guest at moszumanska.debian.org
Thu Jul 28 15:32:02 UTC 2016


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 3335c733d7bb41c68be2bea4550b3db8d1953d0e
Author: arthurchiao <arthurchiao at hotmail.com>
Date:   Fri Jul 8 15:53:11 2016 +0800

    be case insensitive for MacOSX, too
---
 src/gui/folderman.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gui/folderman.cpp b/src/gui/folderman.cpp
index c81878e..88ec583 100644
--- a/src/gui/folderman.cpp
+++ b/src/gui/folderman.cpp
@@ -849,7 +849,7 @@ Folder *FolderMan::folderForPath(const QString &path)
     foreach(Folder* folder, this->map().values()) {
         const QString folderPath = folder->cleanPath()+QLatin1Char('/');
 
-        if(absolutePath.startsWith(folderPath, Utility::isWindows()?
+        if(absolutePath.startsWith(folderPath, (Utility::isWindows() || Utility::isMac())?
                     Qt::CaseInsensitive : Qt::CaseSensitive)) {
             //qDebug() << "found folder: " << folder->path() << " for " << absolutePath;
             return folder;

-- 
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