[Pkg-owncloud-commits] [owncloud-client] 64/103: Using QFile::decodeName instead of QLatin1String

Sandro Knauß hefee-guest at moszumanska.debian.org
Wed Apr 30 18:09:00 UTC 2014


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 9b7a3d00ee8cdcfbac3ce55ef571ef518a343218
Author: hefee <hefee at netzguerilla.net>
Date:   Wed Apr 23 18:59:40 2014 +0200

    Using QFile::decodeName instead of QLatin1String
---
 src/mirall/utility_unix.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/mirall/utility_unix.cpp b/src/mirall/utility_unix.cpp
index 569ac5a..3eb27e0 100644
--- a/src/mirall/utility_unix.cpp
+++ b/src/mirall/utility_unix.cpp
@@ -31,7 +31,7 @@ static void setupFavLink_private(const QString &folder) {
 // can be replaces for qt5 with QStandardPaths
 QString getUserAutostartDir_private()
 {
-    QString config = QLatin1String(qgetenv("XDG_CONFIG_HOME"));
+    QString config = QFile::decodeName(qgetenv("XDG_CONFIG_HOME"));
 
     if (config.isEmpty()) {
         config = QDir::homePath()+QLatin1String("/.config");

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