Commit 31fe3d1b authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Remove not necessary lib

parent 4ef97051
......@@ -76,10 +76,16 @@ PUBLIC
PRIVATE
KF5::I18n
KF5::KIOCore
KF5::AkonadiWidgets
KF5::ConfigGui
KF5::WidgetsAddons
KF5::CoreAddons
KF5::Wallet
KF5::Completion
KF5::ConfigWidgets
Qt5::DBus
Qt5::Network
KF5::KIOWidgets
KF5::KDELibs4Support
)
set_target_properties(KF5MailTransport PROPERTIES
......
......@@ -26,10 +26,9 @@
// Qt
#include <QByteArray>
#include <QSslSocket>
#include <QNetworkProxy>
// KDE
#include "mailtransport_debug.h"
#include <ksocketfactory.h>
using namespace MailTransport;
......@@ -156,10 +155,10 @@ void Socket::reconnect()
if (d->socket) {
return;
}
d->socket =
static_cast<QSslSocket *>(KSocketFactory::connectToHost(d->protocol, d->server,
d->port, this));
d->socket = new QSslSocket(this);
d->socket->setProxy(QNetworkProxy::DefaultProxy);
d->socket->connectToHost(d->server, d->port);
d->socket->setProtocol(QSsl::AnyProtocol);
......
......@@ -50,7 +50,7 @@
#include <KRandom>
#include <Kdelibs4ConfigMigrator>
#include <KWallet/Wallet>
#include <KWallet/kwallet.h>
#include <agentinstance.h>
#include <agentmanager.h>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment