mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-29 12:19:03 +03:00
parent
e0a14cac5b
commit
4581d708ff
4 changed files with 3 additions and 6 deletions
|
@ -11,7 +11,6 @@
|
|||
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
* for more details.
|
||||
*/
|
||||
#include "configfile.h"
|
||||
#include "common/utility.h"
|
||||
#include "account.h"
|
||||
#include "simplesslerrorhandler.h"
|
||||
|
|
|
@ -51,6 +51,7 @@
|
|||
#include <QTranslator>
|
||||
#include <QMenu>
|
||||
#include <QMessageBox>
|
||||
#include <QDesktopServices>
|
||||
|
||||
class QSocket;
|
||||
|
||||
|
|
|
@ -15,7 +15,6 @@
|
|||
#include "account.h"
|
||||
#include "cookiejar.h"
|
||||
#include "networkjobs.h"
|
||||
#include "configfile.h"
|
||||
#include "accessmanager.h"
|
||||
#include "creds/abstractcredentials.h"
|
||||
#include "capabilities.h"
|
||||
|
@ -33,6 +32,7 @@
|
|||
#include <QDir>
|
||||
#include <QSslKey>
|
||||
#include <QAuthenticator>
|
||||
#include <QStandardPaths>
|
||||
|
||||
namespace OCC {
|
||||
|
||||
|
@ -206,8 +206,7 @@ void Account::lendCookieJarTo(QNetworkAccessManager *guest)
|
|||
|
||||
QString Account::cookieJarPath()
|
||||
{
|
||||
ConfigFile cfg;
|
||||
return cfg.configPath() + "/cookies" + id() + ".db";
|
||||
return QStandardPaths::writableLocation(QStandardPaths::AppConfigLocation) + "/cookies" + id() + ".db";
|
||||
}
|
||||
|
||||
void Account::resetNetworkAccessManager()
|
||||
|
|
|
@ -14,8 +14,6 @@
|
|||
|
||||
#include "capabilities.h"
|
||||
|
||||
#include "configfile.h"
|
||||
|
||||
#include <QVariantMap>
|
||||
|
||||
namespace OCC {
|
||||
|
|
Loading…
Reference in a new issue