[Pkg-owncloud-commits] [owncloud-client] 57/70: fix warning

Sandro Knauß hefee-guest at moszumanska.debian.org
Sat May 17 20:01:31 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 bb929db7e6612376a1ce129156e82090f6a8d262
Author: Olivier Goffart <ogoffart at woboq.com>
Date:   Thu May 15 11:29:23 2014 +0200

    fix warning
---
 src/mirall/cookiejar.cpp | 2 +-
 src/mirall/cookiejar.h   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/mirall/cookiejar.cpp b/src/mirall/cookiejar.cpp
index 6c49c46..23d1403 100644
--- a/src/mirall/cookiejar.cpp
+++ b/src/mirall/cookiejar.cpp
@@ -84,7 +84,7 @@ bool CookieJar::setCookiesFromUrl(const QList<QNetworkCookie>& cookieList, const
   return false;
 }
 
-QList<QNetworkCookie> CookieJar::cookiesForUrl(const QUrl &url)
+QList<QNetworkCookie> CookieJar::cookiesForUrl(const QUrl &url) const
 {
     QList<QNetworkCookie> cookies = QNetworkCookieJar::cookiesForUrl(url);
     qDebug() << url << "requests:" << cookies;
diff --git a/src/mirall/cookiejar.h b/src/mirall/cookiejar.h
index 2c7959b..cc12255 100644
--- a/src/mirall/cookiejar.h
+++ b/src/mirall/cookiejar.h
@@ -25,7 +25,7 @@ public:
     explicit CookieJar(QObject *parent = 0);
     ~CookieJar();
     bool setCookiesFromUrl(const QList<QNetworkCookie> &cookieList, const QUrl &url);
-    QList<QNetworkCookie> cookiesForUrl(const QUrl &url);
+    QList<QNetworkCookie> cookiesForUrl(const QUrl &url) const;
 
     virtual bool deleteCookie(const QNetworkCookie & cookie);
 

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