[Pkg-owncloud-commits] [owncloud-client] 180/484: Fix Qt4 compilation

Sandro Knauß hefee-guest at moszumanska.debian.org
Wed Dec 16 00:37:40 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 6d28a1b645251070f7a078dd851adf4dc5f517e2
Author: Olivier Goffart <ogoffart at woboq.com>
Date:   Wed Oct 28 13:24:57 2015 +0100

    Fix Qt4 compilation
---
 src/libsync/discoveryphase.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/libsync/discoveryphase.cpp b/src/libsync/discoveryphase.cpp
index 13e7f2c..d345af8 100644
--- 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 = fileRef.mid(slashPos+1);
+            fileRef = file.midRef(slashPos+1);
         }
         if( fileRef.startsWith(QChar('.')) ) {
             file_stat->flags = CSYNC_VIO_FILE_FLAGS_HIDDEN;

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