[Pkg-owncloud-commits] [owncloud-client] 286/498: Folder: let path() always end on "/" rather than on platform spec. delim.
Sandro Knauß
hefee-guest at moszumanska.debian.org
Tue Aug 11 14:48:59 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 e28fab0c616bd833c555d56d529a8757f22aab15
Author: Klaas Freitag <freitag at owncloud.com>
Date: Wed Jul 8 14:36:25 2015 +0200
Folder: let path() always end on "/" rather than on platform spec. delim.
---
src/gui/folder.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/gui/folder.cpp b/src/gui/folder.cpp
index b408d1f..f07c6f5 100644
--- a/src/gui/folder.cpp
+++ b/src/gui/folder.cpp
@@ -185,8 +185,8 @@ QString Folder::alias() const
QString Folder::path() const
{
QString p(_definition.localPath);
- if( ! p.endsWith(QDir::separator()) ) {
- p.append(QDir::separator());
+ if( ! p.endsWith('/') ) {
+ p.append('/');
}
return p;
}
--
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