mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-27 09:30:13 +03:00
Remove undeeded includes
And don't use 'using namespace' in headers
This commit is contained in:
parent
f09076180d
commit
03ef2aadde
2 changed files with 3 additions and 14 deletions
|
@ -15,11 +15,7 @@
|
|||
#include "mirall/account.h"
|
||||
#include "simplesslerrorhandler.h"
|
||||
|
||||
#include <QtGui>
|
||||
#include <QtNetwork>
|
||||
|
||||
|
||||
bool SimpleSslErrorHandler::handleErrors(QList<QSslError> errors, QList<QSslCertificate> *certs, Account *account)
|
||||
bool SimpleSslErrorHandler::handleErrors(QList<QSslError> errors, QList<QSslCertificate> *certs, Mirall::Account *account)
|
||||
{
|
||||
(void) account;
|
||||
|
||||
|
|
|
@ -13,21 +13,14 @@
|
|||
#ifndef SIMPLESSLERRORHANDLER_H
|
||||
#define SIMPLESSLERRORHANDLER_H
|
||||
|
||||
#include <QtCore>
|
||||
#include <QDialog>
|
||||
#include <QSslCertificate>
|
||||
#include <QList>
|
||||
|
||||
#include "mirall/account.h"
|
||||
|
||||
class QSslError;
|
||||
class QSslCertificate;
|
||||
|
||||
using namespace Mirall;
|
||||
|
||||
class SimpleSslErrorHandler : public AbstractSslErrorHandler {
|
||||
class SimpleSslErrorHandler : public Mirall::AbstractSslErrorHandler {
|
||||
public:
|
||||
bool handleErrors(QList<QSslError> errors, QList<QSslCertificate> *certs, Account*);
|
||||
bool handleErrors(QList<QSslError> errors, QList<QSslCertificate> *certs, Mirall::Account*);
|
||||
};
|
||||
|
||||
#endif // SIMPLESSLERRORHANDLER_H
|
||||
|
|
Loading…
Reference in a new issue