mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-28 02:20:24 +03:00
fix warning
This commit is contained in:
parent
90ee274744
commit
bb929db7e6
2 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue