projects
/
nextcloud-desktop.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4da55b6
)
be case insensitive for MacOSX, too
author
arthurchiao
<arthurchiao@hotmail.com>
Fri, 8 Jul 2016 07:53:11 +0000
(15:53 +0800)
committer
arthurchiao
<arthurchiao@hotmail.com>
Fri, 8 Jul 2016 07:53:11 +0000
(15:53 +0800)
src/gui/folderman.cpp
patch
|
blob
|
history
diff --git
a/src/gui/folderman.cpp
b/src/gui/folderman.cpp
index c81878e17301ec21625bf127f0c77e5f0b0d1f0b..88ec5835fc46ac6b79a21a3088be97d0c2d80649 100644
(file)
--- 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;