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:
b6aa18b
)
Fix Qt4 compilation
author
Olivier Goffart
<ogoffart@woboq.com>
Wed, 28 Oct 2015 12:24:57 +0000
(13:24 +0100)
committer
Olivier Goffart
<ogoffart@woboq.com>
Wed, 28 Oct 2015 12:26:35 +0000
(13:26 +0100)
src/libsync/discoveryphase.cpp
patch
|
blob
|
history
diff --git
a/src/libsync/discoveryphase.cpp
b/src/libsync/discoveryphase.cpp
index 13e7f2c31daaffbdb05cc20e1986e4784eb91c47..d345af84d668903d4bb260f3a9fa03e9be112d1b 100644
(file)
--- a/
src/libsync/discoveryphase.cpp
+++ b/
src/libsync/discoveryphase.cpp
@@
-321,7
+321,7
@@
void DiscoverySingleDirectoryJob::directoryListingIteratedSlot(QString file,QMap
QStringRef fileRef(&file);
int slashPos = file.lastIndexOf(QLatin1Char('/'));
if( slashPos > -1 ) {
- fileRef = file
Ref.mid
(slashPos+1);
+ fileRef = file
.midRef
(slashPos+1);
}
if( fileRef.startsWith(QChar('.')) ) {
file_stat->flags = CSYNC_VIO_FILE_FLAGS_HIDDEN;